Replacing all \ to / in paths - Eclipse writes windows paths with / and can't

read windows-native paths like C:\Documents and Settings\.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226987 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2005-08-02 11:52:22 +00:00
parent 2639914fee
commit 872e0972c8
1 changed files with 3 additions and 3 deletions

View File

@ -396,7 +396,7 @@ public class EclipseWriter
writer.startElement( "location" );
writer.writeText( sourceRoot );
writer.writeText( sourceRoot.replaceAll("\\\\", "/") );
writer.endElement(); // location
@ -429,7 +429,7 @@ public class EclipseWriter
writer.startElement( "location" );
writer.writeText( resourceDir );
writer.writeText( resourceDir.replaceAll( "\\\\", "/" ) );
writer.endElement(); // location
@ -458,7 +458,7 @@ public class EclipseWriter
writer.startElement( "location" );
writer.writeText( file.toString() );
writer.writeText( file.toString().replaceAll( "\\\\", "/" ) );
writer.endElement(); // location