Author: bodewig Date: Thu Jun 19 05:39:18 2008 New Revision: 669471 URL: http://svn.apache.org/viewvc?rev=669471&view=rev Log: Merge rev 669470 - use FileUtils instead of File.toURL - from Ant's trunk
Modified: ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java Modified: ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java URL: http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java?rev=669471&r1=669470&r2=669471&view=diff ============================================================================== --- ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java (original) +++ ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java Thu Jun 19 05:39:18 2008 @@ -404,7 +404,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); }