aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs
diff options
context:
space:
mode:
authormkersten <mkersten>2005-11-08 03:03:28 +0000
committermkersten <mkersten>2005-11-08 03:03:28 +0000
commit4bd7c2a932f8ac03de53f3433d9995a055d23a47 (patch)
treeec81fb3215f02b1362805b76af31a8efed0aa129 /taskdefs
parent9fe6c2bc5c7d9950fc3edeadb0d9cfb8c1f28495 (diff)
downloadaspectj-4bd7c2a932f8ac03de53f3433d9995a055d23a47.tar.gz
aspectj-4bd7c2a932f8ac03de53f3433d9995a055d23a47.zip
Fixed Bugzilla Bug 113554: support ajsym file generation for command line builds
Diffstat (limited to 'taskdefs')
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java6
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)) {