Re: AW: specifying jvm for running ant tasks

2007-03-16 Thread thomaslarsson
Thanks Jan but you misunderstand me. Its not java or javac task that I want to specify the java version for. What I want is more similar to spawning a separate process with runs ant with a java version that I can specify for each project. I know I can do this with the exec task, perhaps simples

specifying jvm for running ant tasks

2007-03-16 Thread thomaslarsson
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