Browse Source

Try to help the Gump/Kaffe/Jikes build

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277167 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
52159303ce
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java

+ 9
- 0
src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java View File

@@ -203,6 +203,15 @@ public class Jikes extends DefaultCompilerAdapter {
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;
}


Loading…
Cancel
Save