Hello everyone, I have an ant task that calls a set of ant tasks in order to build a set of projects in the correct order.
Now I added a project that needs to be run with java 1.5, and I would like to be able to configure the build so that only this new target is run with 1.5, and to old tasks with 1.4. Is there any way to do this? Perhaps without using the exec task or writing a custom task? Here is an outline of my ant task. <target name="build-all"> <echo message="building first project"/> <ant dir="some.dir" file="build.xml" target="dist"/> <echo message="building second project"/> <ant dir="other.dir" file="build.xml" target="dist"/> </target> Best Regards -Thomas -- View this message in context: http://www.nabble.com/specifying-jvm-for-running-ant-tasks-tf3414450.html#a9514299 Sent from the Ant - Users mailing list archive at Nabble.com.
