o change the reference to the location of classworlds ... this is bad,

m2 should run as it does from the command line for these tests which
  I will change. Integration tests for embedding should use the component
  which will detect some of the leakage problems found by a couple new
  users.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163200 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-10-23 13:32:39 +00:00
parent 21d7ed946d
commit a595eacd35
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ public class Verifier
String prevUserDir = System.getProperty( "user.dir" );
System.setProperty( "user.dir", basedir );
System.setProperty( "classworlds.conf", mavenHome + "/bin/classworlds.conf" );
URL classWorldsUrl = new URL( "file:" + mavenHome + "/core/classworlds-1.1-SNAPSHOT.jar" );
URL classWorldsUrl = new URL( "file:" + mavenHome + "/core/boot/classworlds-1.1-SNAPSHOT.jar" );
ClassLoader cl = URLClassLoader.newInstance( new URL[] { classWorldsUrl } );
Class c = Class.forName( "org.codehaus.classworlds.Launcher", true, cl );
Method m = c.getMethod( "mainWithExitCode", new Class[] { String[].class } );