Is there a way in SE to include images in a jar file along with their path?
For example, I have some image files in a folder in the source tree like:
src\com\companyname\product\component\gui\images
with various files like left.gif, right.gif, up.gif, down.gif
If I add them to the project files as a recursive wildcard with value of *.gif they get added to the resulting jar file using the -C option which puts them at the root of the jar file.
If I add them as a wildcard with the path and then *.gif I get the same result, they get added with the -C option.
If I specify them individually, the same thing happens.
Is there a way to the image files added with their path and not using the -C option to the jar command?