|Making an executable jar that includes a properties xml [message #336254]
||Wed, 03 June 2009 13:59
| Lenny Wintfeld
Registered: July 2009
In Eclipse 3.4.0|
I'm making an executable jar of one of my projects but the properties xml
file that's part of the project is not included in the jar and so the jar
will not run.
I'm using File->Export->Java->Runnable JAR File to make the jar
The properties xml ".\myMailProps.xml" is used by my program using the
regular java.util.Properties class's methods loadFromXML and storeToXML
calls and is stored in my programs root directory.
Any idea how I can get eclipse to make an executable jar for me that
includes this (and possibly some other) necessary files in the jar? The
program runs fine under eclipse, now its just a matter of making it easily
Thanks in advance for any help.
Powered by FUDForum
. Page generated in 0.01619 seconds