V
vnssoftware
Ant Manual for javac says-
The source and destination directory will be recursively scanned for
Java source files to compile. Only Java files that have no
corresponding .class file or where the class file is older than the
..java file will be compiled.
Now we have-
<javac srcdir="${src}"
destdir="${build}"
classpath="xyz.jar"
debug="on"
/>
And say xyz.jar has all the class files for {src}.
How can we make Ant to compile only the source file in {src} that have
timestamp more recent than the class files in xyz.jar. That is how can
we put Ant to use its timestamp mechanism using jars on the classpath.
Thank you and Happy New Year.
The source and destination directory will be recursively scanned for
Java source files to compile. Only Java files that have no
corresponding .class file or where the class file is older than the
..java file will be compiled.
Now we have-
<javac srcdir="${src}"
destdir="${build}"
classpath="xyz.jar"
debug="on"
/>
And say xyz.jar has all the class files for {src}.
How can we make Ant to compile only the source file in {src} that have
timestamp more recent than the class files in xyz.jar. That is how can
we put Ant to use its timestamp mechanism using jars on the classpath.
Thank you and Happy New Year.