You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by fg...@apache.org on 2006/04/06 21:05:25 UTC

svn commit: r392040 - in /maven/plugins/trunk/maven-eclipse-plugin/src/test: java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java projects/project-18/project projects/project-19/

Author: fgiust
Date: Thu Apr  6 12:05:23 2006
New Revision: 392040

URL: http://svn.apache.org/viewcvs?rev=392040&view=rev
Log:
removing hardcoded path in test #18 and try to fix encoding problem for test #17 actually broken on continuum

Modified:
    maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java
    maven/plugins/trunk/maven-eclipse-plugin/src/test/projects/project-18/project
    maven/plugins/trunk/maven-eclipse-plugin/src/test/projects/project-19/   (props changed)

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java?rev=392040&r1=392039&r2=392040&view=diff
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java Thu Apr  6 12:05:23 2006
@@ -17,8 +17,10 @@
 
 import java.io.BufferedReader;
 import java.io.File;
+import java.io.FileInputStream;
 import java.io.FileReader;
 import java.io.IOException;
+import java.io.InputStreamReader;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
@@ -238,7 +240,7 @@
     {
         List lines = new ArrayList();
 
-        BufferedReader reader = new BufferedReader( new FileReader( file ) );
+        BufferedReader reader = new BufferedReader( new InputStreamReader( new FileInputStream( file ), "UTF-8" ) );
 
         String line;
 

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/projects/project-18/project
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-eclipse-plugin/src/test/projects/project-18/project?rev=392040&r1=392039&r2=392040&view=diff
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/projects/project-18/project (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/projects/project-18/project Thu Apr  6 12:05:23 2006
@@ -15,7 +15,7 @@
     <link>
       <name>pom.xml</name>
       <type>1</type>
-      <location>D:/apps/maven/plugins/maven-eclipse-plugin/src/test/projects/project-18/pom.xml</location>
+      <location>${basedir}/src/test/projects/project-18/pom.xml</location>
     </link>
   </linkedResources>
 </projectDescription>

Propchange: maven/plugins/trunk/maven-eclipse-plugin/src/test/projects/project-19/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Apr  6 12:05:23 2006
@@ -0,0 +1 @@
+target