ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Govil" <agovil8...@rogers.com>
Subject [PATCH] BugID 7002
Date Sat, 09 Mar 2002 19:27:34 GMT
This bug deals with inalibility to pass the -source argument to the jikes compiler. This delta
is for the file src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java.

Anurag 

--- Jikes.java.original Sat Mar  9 04:45:27 2002
+++ Jikes.java Sat Mar  9 14:22:33 2002
@@ -124,6 +124,11 @@
             cmd.createArgument().setValue("-deprecation");
         }
 
+        // Added by AG. This is to set up the source switch with jikes... 
+        // This method needs a better name to diffrentiate jikes and 
+        // modern compiler set ups. 
+        setupModernJavacCommandlineSwitches(cmd);        
+
         if (destDir != null) {
             cmd.createArgument().setValue("-d");
             cmd.createArgument().setFile(destDir);

Mime
View raw message