Can I specify the javac path from within ant, when using fork ? I’m asking this because I need to run a script from an automation framwork(cruisecontrol) , however when I use fork, it uses jdk of a lower version bundled with the framework. Hence is there any way I can specify a different path for javac?
Share
Use the
build.compilersystem property, or set thecompilerproperty on thejavactask:http://ant.apache.org/manual/Tasks/javac.html