maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-core-it-verifier/src/main/java/org/apache/maven/it Verifier.java
Date Sat, 23 Oct 2004 13:32:39 GMT
jvanzyl     2004/10/23 06:32:39

  Modified:    maven-core-it-verifier/src/main/java/org/apache/maven/it
                        Verifier.java
  Log:
  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.
  
  Revision  Changes    Path
  1.16      +2 -2      maven-components/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
  
  Index: Verifier.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Verifier.java	15 Sep 2004 12:47:13 -0000	1.15
  +++ Verifier.java	23 Oct 2004 13:32:39 -0000	1.16
  @@ -307,7 +307,7 @@
               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 }
);
  
  
  

Mime
View raw message