bodewig 2004/12/10 09:29:04
Modified: src/main/org/apache/tools/ant/taskdefs/compilers Jikes.java
Log:
Try to help the Gump/Kaffe/Jikes build
Revision Changes Path
1.29 +9 -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.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- Jikes.java 8 Dec 2004 07:57:04 -0000 1.28
+++ Jikes.java 10 Dec 2004 17:29:04 -0000 1.29
@@ -203,6 +203,15 @@
int firstFileName = cmd.size();
logAndAddFilesToCompile(cmd);
+ // this is a quick hack to make things work in a
+ // Gump/Kaffe/Jikes combo. I promise I'll explain it later -
+ // and add a real solution as well ;-) Stefan
+ if ("true".equals(System.getProperty("build.clonevm"))
+ && Path.systemBootClasspath.size() > 0) {
+ cmd.createArgument().setValue("-bootclasspath");
+ cmd.createArgument().setPath(Path.systemBootClasspath);
+ }
+
return
executeExternalCompile(cmd.getCommandline(), firstFileName) == 0;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]