From 96d6206ea3cc4d27a1766a1a61de3e580bcc004a Mon Sep 17 00:00:00 2001 From: wisberg Date: Fri, 9 May 2003 22:58:21 +0000 Subject: [PATCH] - platform-independent relative path - compile-time checks for new attributes read --- testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java index bf2ae782d..9736486c1 100644 --- a/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java +++ b/testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java @@ -150,7 +150,7 @@ public class AjcSpecXmlReader { } public static void main(String[] a) throws IOException { - writeDTD(new File("c:/home/wes/aj/aspectj/modules/tests/ajcTestSuite2.dtd")); + writeDTD(new File("../tests/ajcTestSuite2.dtd")); } /** * Write a DTD to dtdFile. @@ -297,7 +297,7 @@ public class AjcSpecXmlReader { new String[] { "paths", "argfiles"}); digester.addSetProperties(compileX + "/file"); digester.addSetProperties(inccompileX, "classes", "paths"); - digester.addSetProperties(runX, //"class", "className"); + digester.addSetProperties(runX, new String[] { "class", "vm", "skipTester"}, new String[] { "className", "javaVersion", "skipTester"}); digester.addSetProperties(dirchangesX); @@ -381,10 +381,13 @@ public class AjcSpecXmlReader { crunSpec.addWrapFile((AbstractRunSpec.WrapFile) null); crunSpec.setOptions((String) null); crunSpec.setPaths((String) null); + crunSpec.setIncludeClassesDir(false); + crunSpec.setReuseCompiler(false); IncCompilerRun.Spec icrunSpec = new IncCompilerRun.Spec(); icrunSpec.addMessage((IMessage) null); icrunSpec.setTag((String) null); + icrunSpec.setFresh(false); JavaRun.Spec jrunspec = new JavaRun.Spec(); jrunspec.addMessage((IMessage) null); -- 2.39.5