Author: carlos Date: Tue Nov 22 13:34:24 2005 New Revision: 348260 URL: http://svn.apache.org/viewcvs?rev=348260&view=rev Log: Don't use getCanonicalPath to be consistent with the rest of classes and avoid test breaking under cygwin due to case changes in drive letter
Modified: maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java Modified: maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java?rev=348260&r1=348259&r2=348260&view=diff ============================================================================== --- maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java (original) +++ maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java Tue Nov 22 13:34:24 2005 @@ -186,16 +186,7 @@ if ( Artifact.SCOPE_SYSTEM.equals( artifact.getScope() ) ) { - try - { - path = StringUtils.replace( artifactPath.getCanonicalPath(), "\\", "/" ); - } - catch ( IOException e ) - { - String message = Messages.getString( "EclipsePlugin.cantcanonicalize", artifactPath ); - - throw new MojoExecutionException( message, e ); - } + path = StringUtils.replace( artifactPath.getAbsolutePath(), "\\", "/" ); if ( log.isDebugEnabled() ) {