Open Snehks opened 7 years ago
The assets should be contained in your jar. The plugin assumes your jar is able to execute as standalone.
On Tue, Jun 27, 2017 at 6:15 PM, Sneh Tekriwal notifications@github.com wrote:
Hi,
Thanks for the awesome plugin. I am having an issue with this. I am trying to bundle my application for OSX. I am able to generate the OSX executable but it won't run without assets obviously. I am not sure where exactly to place the assets. I tried placing my assets inside the package in all the folders but I don't think its working.
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mini2Dx/parcl/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqiDAzjWof6ThJUXGyMSFO7mMpnY-Heks5sIMgegaJpZM4OGWmx .
Thomas Cashman @tom_cashman https://twitter.com/tom_cashman https://tomcashman.xyz
All right. But for libgdx I have never seen it being able to locate files inside the jar. It always needs the resources outside the jar file.
When libgdx generates the desktop jar it usually includes the assets inside it. Has this changed? If so, I can provide find some configuration to fix this.
Have you applied the plugin on the desktop project?
On Tue, Jun 27, 2017 at 6:20 PM, Sneh Tekriwal notifications@github.com wrote:
All right. But for libgdx I have never seen it being able to locate files inside the jar. It always needs the resources outside the jar file.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mini2Dx/parcl/issues/7#issuecomment-311302552, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqiDAD5A04d58boqK4EJaEuQ-sYZQ1xks5sIMlbgaJpZM4OGWmx .
Thomas Cashman @tom_cashman https://twitter.com/tom_cashman https://tomcashman.xyz
Yes I applied plugin to desktop project. Also yes libgdx used to add assets inside the jar but it never worked for me and I have seen many similar questions on stackoverflow complaining about assets not found. So people will usually add their assets inside the root folder (where jar is located) and everything started working fine. https://stackoverflow.com/questions/25474075/executable-jar-with-libgdx-asset-not-found It will be really great if I could somehow specify my assets directory via parcl and then parcl does the rest for me.
Yep same problem here. I have some native libraries I would like to ship with the bundled app, but I am not sure where to put them. My library path would look like the following:
vmArgs = ["-Djava.library.path=lib/video/macosx64:lib/syphon:lib/themidibus"]
But now I do not know where to put all these native libs.
Hi,
Thanks for the awesome plugin. I am having an issue with this. I am trying to bundle my application for OSX. I am able to generate the OSX executable but it won't run without assets obviously. I am not sure where exactly to place the assets. I tried placing my assets inside the package in all the folders but I don't think its working.
Thanks