continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r578016 - /maven/continuum/trunk/continuum-data-management/data-management-cli/src/main/java/org/apache/maven/continuum/management/DataManagementCli.java
Date Fri, 21 Sep 2007 08:22:51 GMT
Author: evenisse
Date: Fri Sep 21 01:22:50 2007
New Revision: 578016

URL: http://svn.apache.org/viewvc?rev=578016&view=rev
Log:
Fix settings path

Modified:
    maven/continuum/trunk/continuum-data-management/data-management-cli/src/main/java/org/apache/maven/continuum/management/DataManagementCli.java

Modified: maven/continuum/trunk/continuum-data-management/data-management-cli/src/main/java/org/apache/maven/continuum/management/DataManagementCli.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-data-management/data-management-cli/src/main/java/org/apache/maven/continuum/management/DataManagementCli.java?rev=578016&r1=578015&r2=578016&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-data-management/data-management-cli/src/main/java/org/apache/maven/continuum/management/DataManagementCli.java
(original)
+++ maven/continuum/trunk/continuum-data-management/data-management-cli/src/main/java/org/apache/maven/continuum/management/DataManagementCli.java
Fri Sep 21 01:22:50 2007
@@ -299,10 +299,10 @@
     private static String getLocalRepositoryURL( PlexusContainer container )
         throws ComponentLookupException, IOException
     {
-        File settingsFile = new File( System.getProperty( "user.home" ), "/.m2/settings.xml"
);
+        File settingsFile = new File( System.getProperty( "user.home" ), ".m2/settings.xml"
);
         if ( !settingsFile.exists() )
         {
-            return new File( System.getProperty( "user.home" ), "/.m2/repository" ).toURL().toString();
+            return new File( System.getProperty( "user.home" ), ".m2/repository" ).toURL().toString();
         }
         else
         {



Mime
View raw message