Browse Source

normalize build file name. In essence, turn relative file names given on the command line into absolute ones. Submitted by: Justin Vallon. PR: 44323

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@633480 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
7ea420955e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/main/org/apache/tools/ant/Main.java

+ 4
- 0
src/main/org/apache/tools/ant/Main.java View File

@@ -420,6 +420,10 @@ public class Main implements AntMain {
throw new BuildException("Build failed");
}

// Normalize buildFile for re-import detection
buildFile =
FileUtils.getFileUtils().normalize(buildFile.getAbsolutePath());

// Load the property files specified by -propertyfile
loadPropertyFiles();



Loading…
Cancel
Save