avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 22339 - avalon/trunk/runtime/util/extension/impl/src/test/org/apache/avalon/extension/test
Date Wed, 30 Jun 2004 15:26:40 GMT
Author: mcconnell
Date: Wed Jun 30 08:26:39 2004
New Revision: 22339

Modified:
   avalon/trunk/runtime/util/extension/impl/src/test/org/apache/avalon/extension/test/PackageRepositoryTestCase.java
Log:
housekeeping

Modified: avalon/trunk/runtime/util/extension/impl/src/test/org/apache/avalon/extension/test/PackageRepositoryTestCase.java
==============================================================================
--- avalon/trunk/runtime/util/extension/impl/src/test/org/apache/avalon/extension/test/PackageRepositoryTestCase.java
(original)
+++ avalon/trunk/runtime/util/extension/impl/src/test/org/apache/avalon/extension/test/PackageRepositoryTestCase.java
Wed Jun 30 08:26:39 2004
@@ -63,18 +63,9 @@
 
     private File getTestClassesDir()
     {
-        String path = System.getProperty( "project.dir" );
-        if( null != path )
-        {
-            File base = new File( path );
-            return new File( base, "../classes" );
-        }
-        else
-        {
-            path = System.getProperty( "basedir" );
-            File root = new File( path );
-            return new File( root, "target/test-classes" ); // maven
-        }
+        String path = System.getProperty( "basedir" );
+        File root = new File( path );
+        return new File( root, "target/test-classes" ); 
     }
 
     public void testGoodPath()

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


Mime
View raw message