maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/settings DefaultMavenSettingsBuilder.java
Date Thu, 17 Mar 2005 06:07:46 GMT
evenisse    2005/03/16 22:07:46

  Modified:    maven-core/src/main/java/org/apache/maven/settings
                        DefaultMavenSettingsBuilder.java
  Log:
  Fix settings finder for windows.
  
  Revision  Changes    Path
  1.2       +1 -0      maven-components/maven-core/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
  
  Index: DefaultMavenSettingsBuilder.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultMavenSettingsBuilder.java	16 Mar 2005 06:29:34 -0000	1.1
  +++ DefaultMavenSettingsBuilder.java	17 Mar 2005 06:07:46 -0000	1.2
  @@ -80,6 +80,7 @@
       private File getSettingsFile()
       {
           String userDir = System.getProperty( "user.home" );
  +        userDir = userDir.replaceAll( "\\\\", "/" );
           
           String path = settingsPath;
           
  
  
  

Mime
View raw message