aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/src/org/aspectj
diff options
context:
space:
mode:
Diffstat (limited to 'taskdefs/src/org/aspectj')
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java14
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);
+ }
}
/**