continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r220154 - /maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
Date Thu, 21 Jul 2005 18:07:43 GMT
Author: evenisse
Date: Thu Jul 21 11:07:40 2005
New Revision: 220154

URL: http://svn.apache.org/viewcvs?rev=220154&view=rev
Log:
Fix workingdirectory for cvs checkout command

Modified:
    maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java

Modified: maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java?rev=220154&r1=220153&r2=220154&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
(original)
+++ maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
Thu Jul 21 11:07:40 2005
@@ -282,6 +282,7 @@
         if ( exitCode != 0 )
         {
             System.err.println( "Error while executing command: " + commandline.toString()
);
+            System.err.println( "workingDirectory: " + workingDirectory.getAbsolutePath()
);
             System.err.println( "Exit code: " + exitCode );
 
             System.err.println( "Standard output:" );
@@ -695,7 +696,7 @@
     protected void cvsCheckout( File cvsRoot, String module, File coDir )
         throws CommandLineException
     {
-        system( cvsRoot, "cvs", "-d " + cvsRoot.getAbsolutePath() + " checkout -d " + coDir.getAbsolutePath()
+ " " + module );
+        system( new File( getBasedir() ), "cvs", "-d " + cvsRoot.getAbsolutePath() + " checkout
-d " + coDir.getAbsolutePath() + " " + module );
     }
 
     protected void cvsCommit( File coDir )



Mime
View raw message