diff options
author | wisberg <wisberg> | 2004-04-15 15:54:04 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2004-04-15 15:54:04 +0000 |
commit | bef1aa119eea26e12f46ed031f2f6922505a72ea (patch) | |
tree | 1b4b9cab962d304a5e8e01fd15fd98b686c2a0f8 /taskdefs/src/org/aspectj/tools | |
parent | e1fb8059ea0aaf45df285d39577ac7c52ed65099 (diff) | |
download | aspectj-bef1aa119eea26e12f46ed031f2f6922505a72ea.tar.gz aspectj-bef1aa119eea26e12f46ed031f2f6922505a72ea.zip |
added lazyTjp to list of accepted X options, added undocumented xdone flag
Diffstat (limited to 'taskdefs/src/org/aspectj/tools')
-rw-r--r-- | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index c98abeed5..f0cd6087c 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -255,7 +255,7 @@ public class AjcTask extends MatchingTask { static { String[] xs = new String[] - { "serializableAspects", "incrementalFile" + { "serializableAspects", "incrementalFile", "lazyTjp" //, "targetNearSource", "OcodeSize", }; VALID_XOPTIONS = Collections.unmodifiableList(Arrays.asList(xs)); @@ -310,6 +310,8 @@ public class AjcTask extends MatchingTask { private List ignored; private Path sourceRoots; private File xweaveDir; + private String xdoneSignal; + // ----- added by adapter - integrate better? private List /* File */ adapterFiles; private String[] adapterArguments; @@ -396,6 +398,7 @@ public class AjcTask extends MatchingTask { tmpOutjar = null; verbose = false; xweaveDir = null; + xdoneSignal = null; } protected void ignore(String ignored) { @@ -454,7 +457,7 @@ public class AjcTask extends MatchingTask { public void setXNoweave(boolean noweave) { cmd.addFlag("-XnoWeave", noweave); } - + public void setXReweavable(boolean reweavable) { cmd.addFlag("-Xreweavable",reweavable); } @@ -687,6 +690,10 @@ public class AjcTask extends MatchingTask { } } + public void setXDoneSignal(String doneSignal) { + this.xdoneSignal = doneSignal; + } + /** direct API for testing */ public void setMessageHolder(IMessageHolder holder) { this.messageHolder = holder; @@ -1428,6 +1435,9 @@ public class AjcTask extends MatchingTask { } else { completeDestdir(); } + if (null != xdoneSignal) { + MessageUtil.info(messageHolder, xdoneSignal); + } } /** |