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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]