ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1070597 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
Date Mon, 14 Feb 2011 18:09:28 GMT
Author: hibou
Date: Mon Feb 14 18:09:28 2011
New Revision: 1070597

URL: http://svn.apache.org/viewvc?rev=1070597&view=rev
Log:
handle some weird configuration with file:c:/.... which break the current trunk.

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java?rev=1070597&r1=1070596&r2=1070597&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/CachedIvy.java
Mon Feb 14 18:09:28 2011
@@ -169,6 +169,9 @@ public abstract class CachedIvy {
             } catch (URISyntaxException e) {
                 // probably a badly constructed url: "file://" + filename
                 file = new File(url.getPath());
+            } catch (IllegalArgumentException e) {
+                // probably a badly constructed url: "file:c:\" + filename
+                file = new File(url.getPath());
             }
             return getIvy(file);
         } else {



Mime
View raw message