On Thu, 25 Apr 2002, Jamie Echlin <[EMAIL PROTECTED]> wrote: > I would like my project to be compiled using the 1.4 JDK as opposed > to our regular 1.3.1 compiler under certain conditions, ideally when > a property is set. But from the archives I understand that I can't > do this til Ant 1.5.
Use plain <javac> without forking, set includeantruntime and includejavaruntime to false, add tools.jar and rt.jar of JDK 1.4 to the classpath (or even bootclasspath). I think this should work in Ant 1.4.1. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
