title: Ant javac task running executable instead of java classes
body: <p>I'm almost certain I can't really do this without writing my own Task classes, but I thought I'd ask anyway. Is there some magic property or ant task that works just like <code>&lt;javac&gt;</code>, but runs my <code>$JAVA_HOME/bin/javac</code> executable file instead of running the code from the javac classes in <code>$JAVA_HOME/lib/tools.jar</code>? The reason I'd like to do this is because I can change the javac binary to always compile with Xlint, it'd be nice to have all the build.xml files around do that too without editing them. (And some have implicit javac calls through other tasks...) The compiler attribute of <code>&lt;javac&gt;</code> is meant for the class code, it doesn't let you simply specify a file to run.</p>