conor 2003/06/09 20:00:46
Modified: src/main/org/apache/tools/ant/taskdefs/compilers Jikes.java
Log:
Add support for -target to Jikes compiler adapter
PR: 20580
Revision Changes Path
1.20 +6 -0
ant/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java
Index: Jikes.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -w -u -r1.19 -r1.20
--- Jikes.java 15 May 2003 12:44:01 -0000 1.19
+++ Jikes.java 10 Jun 2003 03:00:45 -0000 1.20
@@ -155,6 +155,12 @@
if (depend) {
cmd.createArgument().setValue("-depend");
}
+
+ if (target != null) {
+ cmd.createArgument().setValue("-target");
+ cmd.createArgument().setValue(target);
+ }
+
/**
* XXX
* Perhaps we shouldn't use properties for these
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]