Results 1 to 2 of 2
- 10-15-2011, 05:14 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 1
- Rep Power
- 0
Export to JAR - help with required folder?
Hey guys, newbie question..
I'm having a bit of trouble exporting to a Runnable JAR.
My project has the src folder and a "maps" folder alongside it (not a subfolder of it) - as such, it isn't compiled into the JAR, and it doesn't work.
The folder isn't technically a library as such (just full of .map files that are just text files) so I'm not sure how to import it.
The project works fine if I export the JAR then manually copy the other folder along-side it, but surely there's a way to have that done automatically? The export options tell me you can put required libraries in an adjacent folder, but that's not worked.
Will I just have to manually copy the required folders whenever I export it?
Any help would be much appreciated
- 10-28-2011, 02:54 PM #2
Member
- Join Date
- Apr 2009
- Posts
- 54
- Rep Power
- 0
Re: Export to JAR - help with required folder?
You can make a new package (e.g. call it maps) in the src folder and then import your maps-files into the new folder. But of course you must also change your code to point to the new folder.
-
Life is not the worst thing we have ... in a few minutes my coffee is ready.
Similar Threads
-
How do I export to a Jar?
By Bread in forum EclipseReplies: 4Last Post: 11-15-2010, 12:03 AM -
Does eclipse supports multiple sub folder inside source folder
By anantth in forum EclipseReplies: 0Last Post: 10-28-2010, 12:46 PM -
JPDF Export v1.0.2
By hassan1990 in forum Java SoftwareReplies: 2Last Post: 10-02-2010, 08:55 PM -
export to xml
By karq in forum Advanced JavaReplies: 0Last Post: 10-01-2010, 10:49 AM -
export eps
By mr_empty in forum Java 2DReplies: 0Last Post: 04-25-2010, 08:40 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks