-
Improvement
-
Resolution: Fixed
-
Major
-
None
In class FitnesseExecutor.java,
it could be nice to add the possibility to specify a FIT_JAVA_HOME to start fitnesse with a specific java version.
It could look like something like this :
public ArrayList<String> getJavaCmd(FilePath workingDirectory, EnvVars envVars) {
String java = "java";
if(envVars.containsKey("FIT_JAVA_HOME"))
java = new File(new File(envVars.get("FIT_JAVA_HOME"), "bin"), java).getAbsolutePath();
else if (envVars.containsKey("JAVA_HOME"))
java = new File(new File(envVars.get("JAVA_HOME"), "bin"), java).getAbsolutePath();
Very useful if you want to test a project build with maven and java 5