Run ANT with different JVM [message #48944] |
Wed, 04 June 2003 12:13 |
Eclipse User |
|
|
|
Originally posted by: schutzerj.hotmail.com
Can anybody tell me if it is possible to run Ant in another JVM then the one
that I use to run Eclipse. I need to use Java 1.4 to run Eclipse since some
nice plugins requires that but our applications must be compiled with Java
1.3.
Please help me with this since it prevents us from using Eclipse.
Regards,
Joakim Andersson
Lorensbergs Communication
|
|
|
|
Re: Run ANT with different JVM [message #49833 is a reply to message #48974] |
Thu, 05 June 2003 08:35 |
Eclipse User |
|
|
|
Originally posted by: schutzerj.hotmail.com
Hi,
Thank you for that information. I guess that I have to wait then. I have
allready tested the target property of ant but it doesn't work. The problem
is the following:
[javac] bad class file:
C:\Progra~1\Java-1.4.1_02\jre\lib\rt.jar(java/util/TimerTask .class)
[javac] class file has wrong version 48.0, should be 47.0
[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
[javac] import java.util.TimerTask;
It works if I run it through the 1.3 compiler but not through the 1.4
compiler.
/Joakim
"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:bbl94b$bev$1@rogue.oti.com...
> In the latest integration builds this is possible. It will be available in
> the milestone 1 build that will be coming out (hopefully) at the end of
this
> week.
> See the JRE tab that is now available for any Ant launch configuration.
>
> But to achieve what you desire you do not need to launch Ant in a separate
> VM.
> The javac task of Ant support specifying a target attribute.
> Use something like
> <javac target="1.3" ...>
> </javac>
> This will generate 1.3 VM compatible class files.
> HTH
> Darins
>
> "Joakim Andersson" <schutzerj@hotmail.com> wrote in message
> news:bbl861$akp$1@rogue.oti.com...
> > Can anybody tell me if it is possible to run Ant in another JVM then the
> one
> > that I use to run Eclipse. I need to use Java 1.4 to run Eclipse since
> some
> > nice plugins requires that but our applications must be compiled with
Java
> > 1.3.
> >
> > Please help me with this since it prevents us from using Eclipse.
> >
> > Regards,
> > Joakim Andersson
> > Lorensbergs Communication
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02947 seconds