diff options
author | aclement <aclement> | 2004-03-01 15:55:41 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-03-01 15:55:41 +0000 |
commit | 2d04b60e65247c2ab865549610e2a81d3293b73c (patch) | |
tree | daeade5799ed50d93b8e6094dde17836f797ce6e /taskdefs/src | |
parent | 31bf65adc6905c7b6922a6d2b15e836267f33151 (diff) | |
download | aspectj-2d04b60e65247c2ab865549610e2a81d3293b73c.tar.gz aspectj-2d04b60e65247c2ab865549610e2a81d3293b73c.zip |
Georges fix to AjcTask for failing testcases.
Diffstat (limited to 'taskdefs/src')
-rw-r--r-- | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index 10f7c42dc..c98abeed5 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -249,7 +249,7 @@ public class AjcTask extends MatchingTask { static final String[] SOURCE_INPUTS = new String [] { "1.3", "1.4" }; static final String[] COMPLIANCE_INPUTS = new String [] - { "1.3", "1.4" }; + { "-1.3", "-1.4" }; private static final ICommandEditor COMMAND_EDITOR; @@ -1604,9 +1604,9 @@ public class AjcTask extends MatchingTask { while (in.hasNext()) { flag = in.next(); if ("-1.3".equals(flag)) { - setCompliance("1.3"); + setCompliance(flag); } else if ("-1.4".equals(flag)) { - setCompliance("1.4"); + setCompliance(flag); // } else if ("-1.5".equals(flag)) { // setCompliance("1.5"); } else if ("-argfile".equals(flag)) { @@ -1615,6 +1615,8 @@ public class AjcTask extends MatchingTask { setAspectpath(new Path(project, in.next())); } else if ("-classpath".equals(flag)) { setClasspath(new Path(project, in.next())); + } else if ("-extdirs".equals(flag)) { + setExtdirs(new Path(project, in.next())); } else if ("-Xcopyinjars".equals(flag)) { setCopyInjars(true); // ignored - will be flagged by setter } else if ("-g".equals(flag)) { |