workingDir = "c:/apps/jikespg/jdt/tmp"
jikespg = "c:/apps/jikespg/src/a.exe"
-makersc = "c:/jdk1.4/bin/java -classpath c:/eclipse/workspace/org.eclipse.jdt.core/bin;c:/apps/jikespg/jdt;c:/eclipse/workspace/bcweaver/bin UpdateParserFiles"
+makersc = "c:/jdk1.4/bin/java -classpath c:/eclipse/workspace/org.eclipse.jdt.core/bin;c:/apps/jikespg/jdt;c:/eclipse/workspace/weaver/bin UpdateParserFiles"
# the rest of this should never change
ajCompilerHomeRel = "org.aspectj.ajdt.core/src/"
public void testAspectpath() throws InvalidInputException {
final String SOURCE_JAR = "testdata/testclasses.jar";
final String SOURCE_JARS = "testdata/testclasses.jar" + File.pathSeparator
- + "../bcweaver/testdata/tracing.jar" + File.pathSeparator
- + "../bcweaver/testdata/dummyAspect.jar";
+ + "../weaver/testdata/tracing.jar" + File.pathSeparator
+ + "../weaver/testdata/dummyAspect.jar";
AjBuildConfig config = parser.genBuildConfig(new String[] {
"-aspectpath", SOURCE_JAR },
messageWriter);
public void testInJars() throws InvalidInputException {
final String SOURCE_JAR = "testdata/testclasses.jar";
final String SOURCE_JARS = "testdata/testclasses.jar" + File.pathSeparator
- + "../bcweaver/testdata/tracing.jar" + File.pathSeparator
- + "../bcweaver/testdata/dummyAspect.jar";
+ + "../weaver/testdata/tracing.jar" + File.pathSeparator
+ + "../weaver/testdata/dummyAspect.jar";
AjBuildConfig config = parser.genBuildConfig(new String[] {
"-injars", SOURCE_JAR },
messageWriter);
public static void makeJar0() throws IOException {
List args = new ArrayList();
args.add("-outjar");
- args.add("../bcweaver/testdata/tracing.jar");
+ args.add("../weaver/testdata/tracing.jar");
args.add("-classpath");
args.add("../runtime/bin");
public static void makeJar1() throws IOException {
List args = new ArrayList();
args.add("-outjar");
- args.add("../bcweaver/testdata/megatrace.jar");
+ args.add("../weaver/testdata/megatrace.jar");
args.add("-classpath");
args.add("../runtime/bin");
public static void makeJar1a() throws IOException {
List args = new ArrayList();
args.add("-outjar");
- args.add("../bcweaver/testdata/megatraceNoweave.jar");
+ args.add("../weaver/testdata/megatraceNoweave.jar");
args.add("-noweave");
public static void makeJar2() throws IOException {
List args = new ArrayList();
args.add("-outjar");
- args.add("../bcweaver/testdata/dummyAspect.jar");
+ args.add("../weaver/testdata/dummyAspect.jar");
args.add("-classpath");
args.add("../runtime/bin");
// args.add("testdata/testclasses.jar");
//args.add("-aspectpath");
- //args.add("../bcweaver/testdata/megatrace.jar");
+ //args.add("../weaver/testdata/megatrace.jar");
//args.add("testdata/src1/AroundA1.java");
args.add("../tests/new/StrictFPAdvice.java");
stackBuffer = new StringBuffer("java.lang.RuntimeException: unimplemented"
+ "\n at org.aspectj.ajdt.internal.core.builder.EclipseUnwovenClassFile.writeWovenBytes(EclipseUnwovenClassFile.java:59)"
- + "\n at org.aspectj.bcweaver.bcel.BcelWeaver.dump(BcelWeaver.java:271)"
- + "\n at org.aspectj.bcweaver.bcel.BcelWeaver.weave(BcelWeaver.java:233)"
- + "\n at org.aspectj.bcweaver.bcel.BcelWeaver.weave(BcelWeaver.java:198)"
+ + "\n at org.aspectj.weaver.bcel.BcelWeaver.dump(BcelWeaver.java:271)"
+ + "\n at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:233)"
+ + "\n at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:198)"
+ "\n at org.aspectj.ajdt.internal.core.builder.AjBuildManager.weaveAndGenerateClassFiles(AjBuildanager.java:230)"
+ "\n at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:50)"
+ "\n at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:42)"
}
public void disassembleTest(String name) throws IOException {
- BcelWorld world = new BcelWorld("../bcweaver/bin");
+ BcelWorld world = new BcelWorld("../weaver/bin");
LazyClassGen clazz = new LazyClassGen((BcelObjectType) world.resolve(name));
clazz.print();