svn commit: rev 22339 - avalon/trunk/runtime/util/extension/impl/src/test/org/apache/avalon/extension/test

[email protected]
Newsgroups gmane.comp.jakarta.avalon.cvs
Message-ID <[email protected]>
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()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.