i have this frame that displays an icon in the title bar
then i have these folders:
img
jars - where i want to store the generated jars
source
so far i can run the application and jar it
i'd like to jar the img folder too, but i just cant - it includes all the stuff i'v got inside my project ... lol
another byas is that everytime i make a jar i'v to previously delete the former, because it says it cant contain a zip...
i guess i'm doing something wrong in creating the jar in the jars folder, but dont know...
here's my build file: (the Teste.jar is ok, but i cant jar only the images inside the img file, when creating the img.jar file - that's where i need help)
If the date of the JAR file is more recent that the date of the prospective contents (the image in this case), Ant will not recreate the JAR file, even though you changed the build.xml to build the JAR differently. You will need to delete the JAR file and run Ant again. Hopefully your 'clean' target will do that.
Peter Johnson wrote:If the date of the JAR file is more recent that the date of the prospective contents (the image in this case), Ant will not recreate the JAR file, even though you changed the build.xml to build the JAR differently. You will need to delete the JAR file and run Ant again. Hopefully your 'clean' target will do that.
thank you for the idea: i'll include a delete jars folder in the clean and make it dependable for jaring
java amateur
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
a bit of art, as a gift, the permaculture playing cards