ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r668624 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
Date Tue, 17 Jun 2008 11:53:35 GMT
Author: bodewig
Date: Tue Jun 17 04:53:34 2008
New Revision: 668624

URL: http://svn.apache.org/viewvc?rev=668624&view=rev
Log:
Use FileUtils, should fix PR 45190

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java?rev=668624&r1=668623&r2=668624&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java Tue Jun 17 04:53:34
2008
@@ -342,7 +342,7 @@
         }
         try {
             if (message == null) {
-                return file.toURL();
+                return FileUtils.getFileUtils().getFileURL(file);
             }
         } catch (Exception ex) {
             message =



Mime
View raw message