Author: hibou
Date: Tue Jan 12 19:30:09 2010
New Revision: 898478
URL: http://svn.apache.org/viewvc?rev=898478&view=rev
Log:
Don't use the deprecated API that may produce an incorrect URL under Windows
Modified:
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerState.java
Modified:
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerState.java
URL:
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerState.java?rev=898478&r1=898477&r2=898478&view=diff
==============================================================================
---
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerState.java
(original)
+++
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerState.java
Tue Jan 12 19:30:09 2010
@@ -355,7 +355,7 @@
}
try {
md =
ModuleDescriptorParserRegistry.getInstance().parseDescriptor(i.getSettings(),
- file.toURL(), false);
+ file.toURI().toURL(), false);
setConfStatus(null);
return md;
} catch (MalformedURLException e) {