ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r669470 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
Date Thu, 19 Jun 2008 12:37:29 GMT
Author: bodewig
Date: Thu Jun 19 05:37:29 2008
New Revision: 669470

URL: http://svn.apache.org/viewvc?rev=669470&view=rev
Log:
One more File.toURL case

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java?rev=669470&r1=669469&r2=669470&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
Thu Jun 19 05:37:29 2008
@@ -412,7 +412,7 @@
             }
             if (makeURL) {
                 try {
-                    return file.toURL().toExternalForm();
+                    return FILE_UTILS.getFileURL(file).toExternalForm();
                 } catch (MalformedURLException e) {
                     throw new BuildException(ERROR_NO_URL_CONVERT + file);
                 }



Mime
View raw message