]> source.dussan.org Git - aspectj.git/commitdiff
read new fork attribute, skip unused file entity
authorwisberg <wisberg>
Wed, 6 Oct 2004 08:40:57 +0000 (08:40 +0000)
committerwisberg <wisberg>
Wed, 6 Oct 2004 08:40:57 +0000 (08:40 +0000)
testing/src/org/aspectj/testing/xml/AjcSpecXmlReader.java

index 8ea6ec86bb0408193655edbc7980669b680b4e84..fb6485e19b9a1e1cd3143f9da1809fe2f12a698f 100644 (file)
@@ -231,7 +231,7 @@ public class AjcSpecXmlReader {
         digester.addObjectCreate(suiteX,               AjcTest.Suite.Spec.class.getName());
         digester.addObjectCreate(ajctestX,             AjcTest.Spec.class.getName());
         digester.addObjectCreate(compileX,             CompilerRun.Spec.class.getName());
-        digester.addObjectCreate(compileX + "/file",   AbstractRunSpec.WrapFile.class.getName());
+        //digester.addObjectCreate(compileX + "/file",   AbstractRunSpec.WrapFile.class.getName());
         digester.addObjectCreate(inccompileX,          IncCompilerRun.Spec.class.getName());
         digester.addObjectCreate(runX,                 JavaRun.Spec.class.getName()); 
         digester.addObjectCreate(messageX,             SoftMessage.class.getName());
@@ -251,8 +251,8 @@ public class AjcSpecXmlReader {
         digester.addSetProperties(compileX + "/file");
         digester.addSetProperties(inccompileX, "classes", "paths");
         digester.addSetProperties(runX, 
-            new String[] { "class", "vm", "skipTester"},
-            new String[] { "className", "javaVersion", "skipTester"});
+            new String[] { "class", "vm", "skipTester", "fork", "vmargs"},
+            new String[] { "className", "javaVersion", "skipTester", "fork", "vmArgs"});
         digester.addSetProperties(dirchangesX);
         digester.addSetProperties(messageX);
         digester.addSetProperties(messageSrcLocX, "line", "lineAsString");
@@ -271,7 +271,7 @@ public class AjcSpecXmlReader {
         digester.addSetNext(compileX,             "addChild", CompilerRun.Spec.class.getName());
         digester.addSetNext(inccompileX,          "addChild", IncCompilerRun.Spec.class.getName());
         digester.addSetNext(runX,                 "addChild", JavaRun.Spec.class.getName());
-        digester.addSetNext(compileX + "/file",   "addWrapFile", AbstractRunSpec.WrapFile.class.getName());
+        //digester.addSetNext(compileX + "/file",   "addWrapFile", AbstractRunSpec.WrapFile.class.getName());
         digester.addSetNext(messageX,             "addMessage", IMessage.class.getName());
         // setSourceLocation is for the inline variant
         // addSourceLocation is for the extra
@@ -308,8 +308,8 @@ public class AjcSpecXmlReader {
                     // mapped from { "class", ...}
                 new BProps(DirChanges.Spec.class, 
                     new String[] { "added", "removed", "updated", "unchanged", "dirToken", "defaultSuffix"}),
-                new BProps(AbstractRunSpec.WrapFile.class, 
-                    new String[] { "path"}),
+//                new BProps(AbstractRunSpec.WrapFile.class, 
+//                    new String[] { "path"}),
                 new BProps(SoftMessage.class, 
                     new String[] { "kindAsString", "lineAsString", "text", "details", "file"})
                     // mapped from { "kind", "line", ...}
@@ -340,7 +340,7 @@ public class AjcSpecXmlReader {
         CompilerRun.Spec crunSpec = new CompilerRun.Spec();
         crunSpec.addMessage((IMessage) null);
         // XXX crunSpec.addSourceLocation((ISourceLocation) null);
-        crunSpec.addWrapFile((AbstractRunSpec.WrapFile) null);
+//        crunSpec.addWrapFile((AbstractRunSpec.WrapFile) null);
         crunSpec.setOptions((String) null);
         crunSpec.setPaths((String) null);
         crunSpec.setIncludeClassesDir(false);