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 33310 invoked from network); 5 Aug 2000 14:32:33 -0000 Received: from cr102266-a.ktchnr1.on.wave.home.com (HELO gateway.patronix.com) (qmailr@24.114.144.198) by locus.apache.org with SMTP; 5 Aug 2000 14:32:33 -0000 Received: (qmail 2957 invoked from network); 5 Aug 2000 14:30:59 -0000 Received: from unknown (HELO mocha) (192.168.0.129) by ns.patronix.com with SMTP; 5 Aug 2000 14:30:59 -0000 From: "Scotte Zinn" To: Subject: Ant bug??? Date: Sat, 5 Aug 2000 10:32:21 -0400 Message-ID: <003001bffee9$f7d798c0$0100000a@patronix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I've just started using Ant and have two targets in my Build.xml. When I do a build for compile, the copy target is to be executed and the copydir task does the right thing with the filter substitution. When I do a build for javadocs, the copydir task does not do the right thing. The DEBUG_FLAG token gets replaced with ${debug.flag} independent of the debug.flag property. Here is the output of relevant portion of the command 'ant -verbose javadocs'. Note that the filter command does not seem to be kept local to the target. Is this a bug? If so, how do I report it so that it gets fixed? (Or is this email considered reporting it?) -- Scotte Project base dir set to: E:\Dev\projects\Java +Target: main +Task: ant +Target: clean +Task: ant +Target: DebugLib.clean +Task: deltree +Task: deltree +Task: delete +Task: deltree +Task: deltree +Task: delete +Target: DebugLib.javadocs +Task: filter Setting token to filter: DEBUG_FLAG -> true +Task: copydir +Target: DebugLib +Task: copyfile +Target: ReleaseLib +Target: jar +Task: jar +Target: compile +Task: mkdir +Task: javac +Target: copy +Task: filter Setting token to filter: DEBUG_FLAG -> ${debug.flag} +Task: copydir Build sequence for target `DebugLib.javadocs' is [DebugLib.javadocs] Complete build sequence is [DebugLib.javadocs, copy, DebugLib.clean, compile, jar, main, DebugLib, clean, ReleaseLib] [copydir] Copying 2 files to E:\Dev\projects\Java\build\src\javadoc Copy: E:\Dev\projects\Java\src\DebugLib\com\patronix\debug\Assert.java > E:\Dev\projects\Java\build\src\javadoc\com\patronix\debug\Assert.java Replacing: @DEBUG_FLAG@ -> ${debug.flag} Copy: E:\Dev\projects\Java\src\DebugLib\com\patronix\debug\package.html > E:\Dev\projects\Java\build\src\javadoc\com\patronix\debug\package.html Copy: E:\Dev\projects\Java\src\Overview.html > E:\Dev\projects\Java\build\src\javadoc\Overview.html [javadoc] Generating Javadoc