[SailfishDevel] Please allow to create projects outside of home directory
Stefan Lahner
lahner.stefan at gmx.at
Sat Jun 22 16:30:31 UTC 2013
Hello Winfried ,
same for me ... I also do not tested it and I simply thought it would
work to create some other shared folders in home ... but it seams not to
work ... sorry
I have tried to change the home entry to some thing else and this seams
to work (but not fully) ... now qmake says that "sb2: Error: Invalid
target specified, aborting" ... but maybe with some additional
configuration in the IDE, it is possible to solve this ...
Another way would be to create a folder in your home directory and use
"mount --bind /path/to/your/big/filesystem /home/youre_home_dir" ...
this will tell the kernel to rebind/remount the first given folder to
the new given folder (all files in the second folder would be hidden as
long as you have the other folder mounted ...). This only works under
Unix (maybe there is also a way in Microsoft Windows, but I am not that
familiar with this OS), but is a really powerful way to simply duplicate
the access to your filesystem to as many entry points as you wish ...
Not tested, but should work (maybe you also have to change some
configurations in the IDE, so that the compiled program is copied to the
right place ...) ...
Regards,
Stefan
Am 22.06.2013 02:19, schrieb christopher.lamb at thurweb.ch:
> Hi Winfried
>
> Sorry, I should have done a quick test before posting.
>
> It is actually QtCreator that won't be fooled.
>
> The first clue is that the "Choose Directory" dialog won't let a
> symlink be directly selected.
>
> Then in the "Kit Selection" dialog we see that QtCreator has expanded
> the symlink to the true target folder, which is outside the shared home.
>
> Grüsse
>
> Chris
>
>
> Zitat von "W. Dobbe" <winfried.dobbe at xmsnet.nl>:
>
>> Yes, I already tried to create a symlink, but the sailfish SDK is not
>> easily fooled :-(
>> When you type in the path to the symlink manually in the new project
>> wizard (so don't browse via the file dialog), it looks like it
>> accepts the path. But when you click the build button, still the same
>> "project is outside of shared home" message.
>>
>> Adding the project directory on the data disk in the shared folders
>> of the Mer SDK virtual machine didn't help either….
>>
>> Anyway, thanks for the suggestions. It's not urgent at all, but I
>> hope this problem can be resolved at some point in the future.
>>
>> regards,
>> Winfried
>>
>> On 21 Jun 2013, at 20:27, Lutor Zoltán <zoltan.lutor at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I've already tried that but without any success (Windows 7, Home
>>> Premium, 64bits)
>>> Error message was something like this: project is out of shared home
>>> dir...
>>>
>>> Br,
>>>
>>> Zoli
>>>
>>> On Fri, 21 Jun 2013 19:02:57 +0200, Stefan Lahner
>>> <lahner.stefan at gmx.at> wrote:
>>>
>>>> Hello Winfried,
>>>>
>>>> It is not disallowed by the SDK or the IDE ... you simply have to
>>>> configure VirtualBox.
>>>> Start VirtualBox and choose the machine used for the Mer SDK
>>>> (normally called MerSDK); click on "Settings" (yellow gear symbol)
>>>> and click on the menu "Shared Folders" ... there you see all your
>>>> folders, which are shared with the virtual machine ... simply
>>>> add/remove directorys like you wish (juts don't remove/change ssh
>>>> and target)
>>>>
>>>> Regards,
>>>> Stefan
>>>>
>>>> Am 21.06.2013 17:53, schrieb christopher.lamb at thurweb.ch:
>>>>>
>>>>> Winifred
>>>>>
>>>>> Have you tried creating a sym link from your home drive pointing
>>>>> to sailfish_projects on your data drive?
>>>>>
>>>>> That way you would have what appears to be a subfolder within your
>>>>> homedrive, but actually residing on your data drive.
>>>>>
>>>>> Chris
>>>>>
>>>>> Zitat von "Winfried Dobbe" <winfried.koeun at gmail.com>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I installed the Sailfish SDK on the data disk of my Mac. I also
>>>>>> created a directory "sailfish_projects" on that disk. However if
>>>>>> I create a new sailfishOs project in that directory, building it
>>>>>> will fail with message "Project is outside of shared home
>>>>>> /Users/winfried". If I create a project somewhere under
>>>>>> /Users/winfried than all works fine.
>>>>>>
>>>>>> My Mac has an SSD OS disk that is relatively small compared to
>>>>>> the 2 TB data disk. I don't want to use that SSD disk for
>>>>>> development. So it would be nice if it is possible to create
>>>>>> projects outside of your home directory.
>>>>>>
>>>>>> Platform used: OS X 10.8.3, VirtualBox 4.2.12
>>>>>>
>>>>>> regards,
>>>>>> Winfried
>>>>>> _______________________________________________
>>>>>> SailfishOS.org Devel mailing list
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> SailfishOS.org Devel mailing list
>>>>
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>>
>>>
>>> --
>>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>>
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20130622/270e51e9/attachment.html>
More information about the Devel
mailing list