diff options
author | aclement <aclement> | 2005-11-08 11:14:45 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-11-08 11:14:45 +0000 |
commit | 481e39cf090c52f7a67956791adc82922ea8bf9f (patch) | |
tree | 9686597ec20b8a496741075436170b8aa870b0b6 /taskdefs/src | |
parent | 6cb89d22cff49645245458802aef0b623c8b6c7c (diff) | |
download | aspectj-481e39cf090c52f7a67956791adc82922ea8bf9f.tar.gz aspectj-481e39cf090c52f7a67956791adc82922ea8bf9f.zip |
Second patch from 95516 (ant support for -outxml) - patch from Matthew
Diffstat (limited to 'taskdefs/src')
-rw-r--r-- | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index a64ad2a37..68d95f594 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -618,6 +618,14 @@ public class AjcTask extends MatchingTask { tmpOutjar = null; } + public void setOutxml(boolean outxml) { + cmd.addFlag("-outxml",outxml); + } + + public void setOutxmlfile(String name) { + cmd.addFlagged("-outxmlfile", name); + } + public void setDestdir(File dir) { if (null != outjar) { String e = "specifying both output jar (" @@ -1788,6 +1796,10 @@ public class AjcTask extends MatchingTask { setNoExit(true); } else if ("-outjar".equals(flag)) { setOutjar(new File(in.next())); + } else if ("-outxml".equals(flag)) { + setOutxml(true); + } else if ("-outxmlfile".equals(flag)) { + setOutxmlfile(in.next()); } else if ("-preserveAllLocals".equals(flag)) { setPreserveAllLocals(true); } else if ("-proceedOnError".equals(flag)) { |