ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tuft Muller" <>
Subject Ant 1.4.1: Javac task compiling source despite non-altered source files
Date Tue, 13 Nov 2001 19:51:04 GMT

>From the Javac task documentation:

"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."

My javac task(s) recompile(s) the full source *every single* time I run the
project file irrespective of the class files exist in the build directory or
not, and irrespective whether the source-files have been altered.

Extract from one of the project files:

<target name="compile" depends="prepare">
		<javac destdir="${build.classes}"
			<classpath refid="classpath"/>

Ant version: Ant version 1.4.1 compiled on November 12 2001
OS: Win2k, service pack 2

Any ideas why?



Copyright ERA Technology Ltd. 2001. ( All rights reserved. 
Confidential. No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message