ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r633480 - /ant/core/trunk/src/main/org/apache/tools/ant/Main.java
Date Tue, 04 Mar 2008 14:14:42 GMT
Author: bodewig
Date: Tue Mar  4 06:14:42 2008
New Revision: 633480

URL: http://svn.apache.org/viewvc?rev=633480&view=rev
Log:
normalize build file name. In essence, turn relative file names given on the command line
into absolute ones.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/Main.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/Main.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/Main.java?rev=633480&r1=633479&r2=633480&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/Main.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/Main.java Tue Mar  4 06:14:42 2008
@@ -420,6 +420,10 @@
             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();
 



Mime
View raw message