Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 19834 invoked from network); 20 Feb 2001 14:18:21 -0000 Received: from roma.axis.se (193.13.178.2) by h31.sny.collab.net with SMTP; 20 Feb 2001 14:18:21 -0000 Received: from klatt.axis.se (klatt.axis.se [10.0.5.41]) by roma.axis.se (8.9.3/8.9.3) with ESMTP id PAA20245 for ; Tue, 20 Feb 2001 15:17:29 +0100 (MET) Received: by klatt.axis.se with Internet Mail Service (5.5.2653.19) id <1058NGMJ>; Tue, 20 Feb 2001 15:17:14 +0100 Message-ID: From: Peter Nilsson To: "'ant-user@jakarta.apache.org'" Subject: ant is incompatible with JDK javac 1.3 Date: Tue, 20 Feb 2001 15:17:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 www.axis.com