Java goes AppStore?
Scott Palmer
swpalmer at gmail.com
Wed Sep 19 13:16:00 PDT 2012
Can't you just have your IDE add a -DLibraryDirectory=blah to the launch parameters?
Scott
On 2012-09-19, at 4:04 PM, "Tobias Bley (UltraMixer)" <tobi at ultramixer.com> wrote:
> Hi Marco,
>
> Thanks for your great efforts. But by implementing this feature into the app launcher you can't test your app from the IDE without packaging an app bundle. So I think it would be better if you could release your native library for public use.
>
> Regards,
> Tobi
>
> Am 19.09.2012 um 18:58 schrieb Marco Dinacci <marco.dinacci at gmail.com>:
>
>> Paul,
>>
>>> Library/Containers/Myapp ?
>>
>> I've made a change to the JavaAppLauncher in my appbundler fork (*)
>> that passes 5 environment variables to the Java app that it launches:
>>
>> LibraryDirectory
>> DocumentsDirectory
>> CachesDirectory
>> ApplicationSupportDirectory
>> SandboxEnabled
>>
>> this way you can use System.getProperty(one_of_the_variables_above) to
>> get the directory you need, removing the need for a native library.
>>
>> Best,
>> Marco
>>
>>
>> (*) https://bitbucket.org/infinitekind/appbundler
More information about the macosx-port-dev
mailing list