avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/merlin/extension/src/test/org/apache/avalon/extension/test PackageRepositoryTestCase.java
Date Tue, 24 Jun 2003 07:11:04 GMT
mcconnell    2003/06/24 00:11:04

  Modified:    merlin/extension/src/test/org/apache/avalon/extension/test
                        PackageRepositoryTestCase.java
  Log:
  Update to ensure testcase directory is correctly set.
  
  Revision  Changes    Path
  1.2       +3 -2      avalon-sandbox/merlin/extension/src/test/org/apache/avalon/extension/test/PackageRepositoryTestCase.java
  
  Index: PackageRepositoryTestCase.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/extension/src/test/org/apache/avalon/extension/test/PackageRepositoryTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PackageRepositoryTestCase.java	23 Jun 2003 02:02:13 -0000	1.1
  +++ PackageRepositoryTestCase.java	24 Jun 2003 07:11:03 -0000	1.2
  @@ -82,8 +82,9 @@
       {
           super( name );
   
  +        File root = new File( System.getProperty( "basedir" ) );
           m_baseDirectory =
  -            ( new File( "target/test-classes/org/apache/avalon/extension/test/" ) ).getCanonicalFile();
  +            ( new File( root, "target/test-classes/org/apache/avalon/extension/test/" )
).getCanonicalFile();
   
           m_pathElement1 = new File( m_baseDirectory, "path1" );
           m_pathElement2 = new File( m_baseDirectory, "path2" );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message