incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r507690 - /incubator/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java
Date Wed, 14 Feb 2007 21:07:19 GMT
Author: maartenc
Date: Wed Feb 14 13:07:18 2007
New Revision: 507690

URL: http://svn.apache.org/viewvc?view=rev&rev=507690
Log:
Also exclude the path seperator from the dir

Modified:
    incubator/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java

Modified: incubator/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java?view=diff&rev=507690&r1=507689&r2=507690
==============================================================================
--- incubator/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java (original)
+++ incubator/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java Wed Feb
14 13:07:18 2007
@@ -299,7 +299,7 @@
 
 	private String getDefaultConfigurationDir() {
 		String ivyconfLocation = getDefaultConfigurationURL().toExternalForm();
-		return ivyconfLocation.substring(0, ivyconfLocation.length() - "ivyconf.xml".length());
+		return ivyconfLocation.substring(0, ivyconfLocation.length() - "ivyconf.xml".length() -
1);
 	}
 
 	private static URL getSettingsURL(String file) {



Mime
View raw message