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 Tue, 29 Mar 2005 19:53:27 GMT
evenisse    2005/03/29 11:53:27

  Modified:    maven-core/src/main/java/org/apache/maven/settings
                        DefaultMavenSettingsBuilder.java
  Log:
  Fix settings file path for windows.
  
  Revision  Changes    Path
  1.4       +2 -1      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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultMavenSettingsBuilder.java	29 Mar 2005 17:06:30 -0000	1.3
  +++ DefaultMavenSettingsBuilder.java	29 Mar 2005 19:53:27 -0000	1.4
  @@ -91,6 +91,7 @@
           // TODO: This replacing shouldn't be necessary as user.home should be in the
           // context of the container and thus the value would be interpolated by Plexus
           String userHome = System.getProperty( "user.home" );
  +        userHome = userHome.replaceAll( "\\\\", "/" );
   
           path = path.replaceAll( "\\$\\{user.home\\}", userHome );
           path = path.replaceAll( "\\\\", "/" );
  
  
  

Mime
View raw message