]> source.dussan.org Git - aspectj.git/commitdiff
Update to allow 1.5 to be specified.
authoraclement <aclement>
Wed, 19 Jan 2005 14:13:41 +0000 (14:13 +0000)
committeraclement <aclement>
Wed, 19 Jan 2005 14:13:41 +0000 (14:13 +0000)
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java

index f5321c87b08abfac6f332cb33ea12d105df1bbd2..8ba4ad63f1089866568198ff94f473276f6eba03 100644 (file)
@@ -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)) {