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 simplest by preparing a
.bat or .sh file that makes a call to ant on my project, but I am asking for
tips on a cleaner solution.

-Thomas


-- 
View this message in context: 
http://www.nabble.com/specifying-jvm-for-running-ant-tasks-tf3414450.html#a9514647
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to