Here's a snippet (from a macrodef and hence @{..}) of what I do when I
need to exec Ant
--Vishal
thomaslarsson wrote:
Thanks Jan but you misunderstand me.
Its not java or javac task that I wan
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
But you could also use Java1.5 for your 1.5 AND 1.4 projects.
When compiling your 1.4 you set source+target="1.4"
Jan
>-Ursprüngliche Nachricht-
>Von: thomaslarsson [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 16. März 2007 14:18
>An: user@ant.apache.org
>Betreff: specifying jvm for