I'm new to Ant and I'm try to include two files, console.property and java.policy to my Ant build.xml. Couldn't find much information online, any suggestions will be great help. Thank you,
[ November 25, 2008: Message edited by: Ellen fish ] [ November 25, 2008: Message edited by: Ellen fish ]
What I would do is add another target to place the files into their proper location in the ${classes.dir} directory:
(You never said where those files are located nor where you would like them to end up, so the above code assumes they are in the "resources" directory and that they should be in the base directory of the JAR file.)
Next, add this target as a dependency on the jar target: