ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <>
Subject RE: ant is incompatible with JDK javac 1.3
Date Tue, 20 Feb 2001 15:36:09 GMT
Is the "build" dir intended to be relative?  I have mine set to D:\build and
it works fine.  And this is with jdk1.3, modern compile.  Plus, ant doesn't
do any recompilation checking in the <javac> task.  My understanding is that
it is all handled by javac.


> -----Original Message-----
> From: Peter Nilsson []
> Sent: Tuesday, February 20, 2001 9:18 AM
> To: ''
> Subject: ant is incompatible with JDK javac 1.3
> ant's built in target "javac" is incompatible with javac 1.3 
> (at least). If I set the its attribute "destdir" to build 
> directory "build", JDK javac 1.3 will, since its given the 
> parameter '-d build', create sub directories matching the 
> package name under "build" and put the compiled class files 
> in there. However, ant assumes the class files are put 
> directly under "build" and will therefore recompile everytime 
> it's invoked since no class files is ever found during its 
> "up-to-date" check.
> Is there a work around except for omitting the "destdir" 
> attribute and clutter the src directory with class files
> (in which case javac doesn't create sub directories)?
> /Peter
> Don't miss the opportunity to stay ahead of the latest developments!
> Visit Axis at CeBIT - Hall 11 - Stand G62
> March 22 - 28, 2001- Hannover, Germany
> Get your hands on and evaluate the latest networking 
> solutions for the 
> converging world of wired and wireless. All in one place, at one time!
> For more information 

View raw message