continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r220329 - /maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
Date Fri, 22 Jul 2005 14:32:35 GMT
Author: jvanzyl
Date: Fri Jul 22 07:32:32 2005
New Revision: 220329

URL: http://svn.apache.org/viewcvs?rev=220329&view=rev
Log:
o just copying over the configuration.xml from the continuum-plexus-application 
  as the configuration service is now online and needs its configuration file
  to function correctly.
  

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=220329&r1=220328&r2=220329&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
Fri Jul 22 07:32:32 2005
@@ -103,12 +103,22 @@
     protected void customizeContext( Context context )
         throws Exception
     {
-        File plexusHome = getTestFile( "target/lets/do/some" );
+        File plexusHome = getTestFile( "target/leve1/level2/plexus-home" );
 
         if ( !plexusHome.isDirectory() )
         {
             assertTrue( plexusHome.mkdirs() );
         }
+
+        // ----------------------------------------------------------------------
+        // Use configuration file from the continuum-plexus-application
+        // ----------------------------------------------------------------------
+
+        File configurationSource = getTestFile( "../continuum-plexus-application/src/conf/configuration.xml"
);
+
+        File configurationForIT = new File( plexusHome, "conf/configuration.xml" );
+
+        FileUtils.copyFile( configurationSource, configurationForIT );
 
         context.put( "plexus.home", plexusHome.getAbsolutePath() );
     }



Mime
View raw message