How can I tell ant to use a specific javac executable from the command line?
I have an installation of gcj, built as part of gcc, within a library we di
I've done something similiar before, using the Ant Exec task. See http://ant.apache.org/manual/Tasks/exec.html
It allows you to call a specific system command. In our case, we needed to call Delphi (don't ask) to build some DLL's for a particular project. The exec command would also allow you to call gcj instead of javac.