diff options
author | mkersten <mkersten> | 2005-11-08 03:03:28 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2005-11-08 03:03:28 +0000 |
commit | 4bd7c2a932f8ac03de53f3433d9995a055d23a47 (patch) | |
tree | ec81fb3215f02b1362805b76af31a8efed0aa129 /taskdefs/src | |
parent | 9fe6c2bc5c7d9950fc3edeadb0d9cfb8c1f28495 (diff) | |
download | aspectj-4bd7c2a932f8ac03de53f3433d9995a055d23a47.tar.gz aspectj-4bd7c2a932f8ac03de53f3433d9995a055d23a47.zip |
Fixed Bugzilla Bug 113554: support ajsym file generation for command line builds
Diffstat (limited to 'taskdefs/src')
-rw-r--r-- | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 6 |
1 files changed, 6 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 b8508383b..a64ad2a37 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -505,6 +505,10 @@ public class AjcTask extends MatchingTask { cmd.addFlag("-emacssym", emacssym); } + public void setCrossrefs(boolean on) { + cmd.addFlag("-crossrefs", on); + } + /** * -Xlint - set default level of -Xlint messages to warning * (same as </code>-Xlint:warning</code>) @@ -1744,6 +1748,8 @@ public class AjcTask extends MatchingTask { setDeprecation(true); } else if ("-d".equals(flag)) { setDestdir(new File(in.next())); + } else if ("-crossrefs".equals(flag)) { + setCrossrefs(true); } else if ("-emacssym".equals(flag)) { setEmacssym(true); } else if ("-encoding".equals(flag)) { |