ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r414439 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java
Date Thu, 15 Jun 2006 02:19:21 GMT
Author: kevj
Date: Wed Jun 14 19:19:21 2006
New Revision: 414439

URL: http://svn.apache.org/viewvc?rev=414439&view=rev
Log:
use fileutils.resolveFile

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java?rev=414439&r1=414438&r2=414439&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java Wed Jun 14 19:19:21
2006
@@ -739,7 +739,7 @@
      */
     private File resolveFile(String fileName) {
         if (rootDirectory == null) {
-            return getProject().resolveFile(fileName);
+            return FILE_UTILS.resolveFile(getProject().getBaseDir(),fileName);
         }
         return FILE_UTILS.resolveFile(rootDirectory, fileName);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message