/** true if -XincrementalFile (i.e, setTagFile)*/
private boolean inIncrementalFileMode;
-
+
+ /** used when forking */
+ private CommandlineJava javaCmd = new CommandlineJava();
+
// also note MatchingTask grabs source files...
public AjcTask() {
verbose = false;
xweaveDir = null;
xdoneSignal = null;
+ javaCmd = new CommandlineJava();
}
protected void ignore(String ignored) {
public void setMaxmem(String maxMem) {
this.maxMem = maxMem;
}
+
+ /** support for nested <jvmarg> elements */
+ public Commandline.Argument createJvmarg() {
+ return this.javaCmd.createVmArgument();
+ }
// ----------------
public void setTagFile(File file) {
this.logger.warning("message holder ignored when forking: "
+ messageHolder.getClass().getName());
}
- CommandlineJava javaCmd = new CommandlineJava();
javaCmd.setClassname(org.aspectj.tools.ajc.Main.class.getName());
final Path vmClasspath = javaCmd.createClasspath(getProject());