I want to do a -Xbootclasspath/p: However as of ANT 1.6.2, the source code is "Hard-Coded" as follows: Starting at Line 361 of package org.apache.tools.ant.types.CommandlineJava.java if (haveBootclasspath(true)) { listIterator.add("-Xbootclasspath:" + bootclasspath.toString()); } I would like to be able to pass in a "prepend" (i.e. "/p:") apend (i.e. "/a:") or nothing (i.e. ":") You could call it bootclasspathPendingType. Also, I am not sure if it is legal in java, but if it is legal to do both prepend and apend the bootclasspath, then we should do both. I am willing to test this once you have a fix ready! Thanks Bryce
I strongly support this RFE. jvmarg -Xbootclasspath is not portable because of ";:" issues. It'd be nice to have options to prepend and append stuff into the <bootclasspath> element. Thanks!
I have added a note on using ${toString:pathreference} with <compilerarg>. It would be a little tricky to add ant element support for this request. There are a number of different compilers that have to be considered.