aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-09 22:58:21 +0000
committerwisberg <wisberg>2003-05-09 22:58:21 +0000
commit96d6206ea3cc4d27a1766a1a61de3e580bcc004a (patch)
treebc58e488bbb38de793c5a7e4c93cee37c068bc3a /testing
parent0b4a9bbfe1153c5ae326b4d05292e21a89cb3f40 (diff)
downloadaspectj-96d6206ea3cc4d27a1766a1a61de3e580bcc004a.tar.gz
aspectj-96d6206ea3cc4d27a1766a1a61de3e580bcc004a.zip
- platform-independent relative path
- compile-time checks for new attributes read
Diffstat (limited to 'testing')
-rw-r--r--testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java7
1 files 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);