From 94e8935ef6e366de17cf3ea4808f35f1460fc82f Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 19 Jan 2005 14:13:41 +0000 Subject: [PATCH] Update to allow 1.5 to be specified. --- .../src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index f5321c87b..8ba4ad63f 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -245,11 +245,11 @@ public class AjcTask extends MatchingTask { = AjcTask.class.getName() + ".COMMAND_EDITOR"; static final String[] TARGET_INPUTS = new String [] - { "1.1", "1.2", "1.3", "1.4" }; + { "1.1", "1.2", "1.3", "1.4", "1.5" }; static final String[] SOURCE_INPUTS = new String [] - { "1.3", "1.4" }; + { "1.3", "1.4", "1.5" }; static final String[] COMPLIANCE_INPUTS = new String [] - { "-1.3", "-1.4" }; + { "-1.3", "-1.4", "-1.5" }; private static final ICommandEditor COMMAND_EDITOR; @@ -1644,8 +1644,8 @@ public class AjcTask extends MatchingTask { setCompliance(flag); } else if ("-1.4".equals(flag)) { setCompliance(flag); -// } else if ("-1.5".equals(flag)) { -// setCompliance("1.5"); + } else if ("-1.5".equals(flag)) { + setCompliance("1.5"); } else if ("-argfile".equals(flag)) { setArgfiles(new Path(project, in.next())); } else if ("-aspectpath".equals(flag)) { -- 2.39.5