You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ke...@apache.org on 2006/06/15 04:19:21 UTC

svn commit: r414439 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java

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