I'm building a project with ant
and during the build I'd like to bundle a number of property/config files directly into the .jar
to make distribution simpler. I've been successful in adding these files to the .jar
, but I'm unable to load them in my program.
What is the procedure to open/read a file that's been bundled into a .jar
file?