Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 77647 invoked from network); 26 Oct 2004 14:20:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Oct 2004 14:20:10 -0000 Received: (qmail 53551 invoked by uid 500); 26 Oct 2004 14:18:49 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 53396 invoked by uid 500); 26 Oct 2004 14:18:47 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 53192 invoked by uid 500); 26 Oct 2004 14:18:44 -0000 Received: (qmail 53145 invoked by uid 99); 26 Oct 2004 14:18:42 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 26 Oct 2004 07:18:42 -0700 Received: (qmail 76905 invoked by uid 1146); 26 Oct 2004 14:18:40 -0000 Date: 26 Oct 2004 14:18:40 -0000 Message-ID: <20041026141840.76904.qmail@minotaur.apache.org> From: bodewig@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Javac.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N bodewig 2004/10/26 07:18:39 Modified: src/main/org/apache/tools/ant/taskdefs Javac.java Log: compiler attributes is used to determine command line arguments even in the fork case, this warning is misleading. PR: 31664 Revision Changes Path 1.122 +2 -8 ant/src/main/org/apache/tools/ant/taskdefs/Javac.java Index: Javac.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- Javac.java 9 Mar 2004 16:48:05 -0000 1.121 +++ Javac.java 26 Oct 2004 14:18:39 -0000 1.122 @@ -849,13 +849,7 @@ public String getCompiler() { String compilerImpl = getCompilerVersion(); if (fork) { - if (isJdkCompiler(compilerImpl)) { - if (facade.hasBeenSet()) { - log("Since fork is true, ignoring compiler setting.", - Project.MSG_WARN); - } - compilerImpl = "extJavac"; - } else { + if (!isJdkCompiler(compilerImpl)) { log("Since compiler setting isn't classic or modern," + "ignoring fork setting.", Project.MSG_WARN); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org