From 051525f64e6ef075393a0d2690ae4ace943073e4 Mon Sep 17 00:00:00 2001 From: acolyer Date: Tue, 8 Jun 2004 14:00:21 +0000 Subject: [PATCH] change picked up from head --- .../compiler/batch/BcweaverJarMaker.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java index 98c9ea984..40e81eeda 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java @@ -231,6 +231,30 @@ public class BcweaverJarMaker { args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWAspect.aj"); CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); + /* + * Declare warning advice + */ + args = new ArrayList(); + args.add("-classpath"); + args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar;../weaver/testdata/ltw-classes.jar" + + File.pathSeparator + System.getProperty("aspectjrt.path")); + args.add("-outjar"); + args.add("../weaver/testdata/ltw-dwaspects.jar"); + args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWDeclareWarning.aj"); + CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); + + /* + * Declare error advice + */ + args = new ArrayList(); + args.add("-classpath"); + args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar;../weaver/testdata/ltw-classes.jar" + + File.pathSeparator + System.getProperty("aspectjrt.path")); + args.add("-outjar"); + args.add("../weaver/testdata/ltw-deaspects.jar"); + args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWDeclareError.aj"); + CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); + /* * Around closure advice */ -- 2.39.5