Browse Source

Change output so that it doesn't look as if csc always compiles everything

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276752 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
24193cb45d
2 changed files with 4 additions and 6 deletions
  1. +2
    -4
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetBaseMatchingTask.java
  2. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java

+ 2
- 4
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetBaseMatchingTask.java View File

@@ -161,12 +161,10 @@ public class DotnetBaseMatchingTask extends MatchingTask {
Hashtable filesToBuild = new Hashtable(); Hashtable filesToBuild = new Hashtable();
int filesOutOfDate = buildFileList(command, filesToBuild, outputTimestamp); int filesOutOfDate = buildFileList(command, filesToBuild, outputTimestamp);


//add the files to the command
addFilesToCommand(filesToBuild, command);


//now run the command of exe + settings + files //now run the command of exe + settings + files
if (filesOutOfDate > 0) { if (filesOutOfDate > 0) {
//add the files to the command
addFilesToCommand(filesToBuild, command);
command.runCommand(); command.runCommand();
} else { } else {
log("output file is up to date", Project.MSG_VERBOSE); log("output file is up to date", Project.MSG_VERBOSE);


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java View File

@@ -370,10 +370,10 @@ public class NetCommand {
if (targetFile.lastModified() > outputTimestamp) { if (targetFile.lastModified() > outputTimestamp) {
filesOutOfDate++; filesOutOfDate++;
owner.log(targetFile.toString() + " is out of date", owner.log(targetFile.toString() + " is out of date",
Project.MSG_VERBOSE);
Project.MSG_VERBOSE);
} else { } else {
owner.log(targetFile.toString(), owner.log(targetFile.toString(),
Project.MSG_VERBOSE);
Project.MSG_VERBOSE);
} }
} }
} }


Loading…
Cancel
Save