From dev-return-59589-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Wed Aug 04 17:28:33 2004 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 86723 invoked from network); 4 Aug 2004 17:28:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Aug 2004 17:28:33 -0000 Received: (qmail 5874 invoked by uid 500); 4 Aug 2004 14:35:25 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 5815 invoked by uid 500); 4 Aug 2004 14:35:21 -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 5799 invoked by uid 500); 4 Aug 2004 14:35:21 -0000 Received: (qmail 5795 invoked by uid 99); 4 Aug 2004 14:35:21 -0000 X-ASF-Spam-Status: No, hits=0.5 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.27.1) with SMTP; Wed, 04 Aug 2004 07:35:21 -0700 Received: (qmail 14346 invoked by uid 1146); 4 Aug 2004 14:35:07 -0000 Date: 4 Aug 2004 14:35:07 -0000 Message-ID: <20040804143507.14345.qmail@minotaur.apache.org> From: bodewig@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet DotnetBaseMatchingTask.java NetCommand.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N bodewig 2004/08/04 07:35:07 Modified: src/main/org/apache/tools/ant/taskdefs/optional/dotnet DotnetBaseMatchingTask.java NetCommand.java Log: Change output so that it doesn't look as if csc always compiles everything Revision Changes Path 1.11 +2 -4 ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetBaseMatchingTask.java Index: DotnetBaseMatchingTask.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetBaseMatchingTask.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- DotnetBaseMatchingTask.java 9 Mar 2004 16:48:18 -0000 1.10 +++ DotnetBaseMatchingTask.java 4 Aug 2004 14:35:06 -0000 1.11 @@ -161,12 +161,10 @@ Hashtable filesToBuild = new Hashtable(); int filesOutOfDate = buildFileList(command, filesToBuild, outputTimestamp); - //add the files to the command - addFilesToCommand(filesToBuild, command); - - //now run the command of exe + settings + files if (filesOutOfDate > 0) { + //add the files to the command + addFilesToCommand(filesToBuild, command); command.runCommand(); } else { log("output file is up to date", Project.MSG_VERBOSE); 1.31 +2 -2 ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java Index: NetCommand.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- NetCommand.java 9 Mar 2004 16:48:18 -0000 1.30 +++ NetCommand.java 4 Aug 2004 14:35:06 -0000 1.31 @@ -370,10 +370,10 @@ if (targetFile.lastModified() > outputTimestamp) { filesOutOfDate++; owner.log(targetFile.toString() + " is out of date", - Project.MSG_VERBOSE); + Project.MSG_VERBOSE); } else { owner.log(targetFile.toString(), - Project.MSG_VERBOSE); + Project.MSG_VERBOSE); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org