]> source.dussan.org Git - aspectj.git/commitdiff
making more jars for tests
authorjhugunin <jhugunin>
Thu, 19 Dec 2002 23:05:52 +0000 (23:05 +0000)
committerjhugunin <jhugunin>
Thu, 19 Dec 2002 23:05:52 +0000 (23:05 +0000)
org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java

index 9f463c15c50b1a84d569e7d58541d9931cd19229..d0c19a18276f7c6047bfb4752f2f0bed8acd09a2 100644 (file)
@@ -27,6 +27,8 @@ public class BcweaverJarMaker {
                makeJar1();
                makeJar1a();
                makeJar2();
+               
+               makeTestJars();
        }
        
        public static void makeJar0() throws IOException {
@@ -87,4 +89,35 @@ public class BcweaverJarMaker {
                
                CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS);
        }       
+       
+       public static void makeTestJars() throws IOException {
+               List args = new ArrayList();
+
+               args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar");
+               args.add("-outjar");
+               args.add("../tests/new/options11/aspectlib1.jar");              
+               args.add("../tests/new/options11/library1/*.java");
+               
+               CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS);
+               
+               args = new ArrayList();
+
+               args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar");
+               args.add("-outjar");
+               args.add("../tests/new/options11/aspectlib2.jar");              
+               args.add("../tests/new/options11/library2/*.java");
+               
+               CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS);
+               
+               args = new ArrayList();
+
+               args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar");
+               args.add("-outjar");
+               args.add("../tests/new/options11/injar.jar");           
+               args.add("../tests/new/options11/injar/*.java");
+               
+               CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS);
+       }       
+       
+       
 }