ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject RE: set jvm to 1.3
Date Thu, 17 Mar 2005 13:52:46 GMT

--- "Mikael Petterson (KI/EAB)"
<mikael.petterson@ericsson.com> wrote:
> Thanks for the hint!
> 
> In ant there is a property called:
> 
> ant.java.version
It is the java version ant is started with.

> 
> What does that tell us? Does it say anything about
> the version of compiler used?
I suppose it does not say, because you can start Ant
with one jvm, but compile your sources with another
java compiler, say jikes, gcj, etc.

HTH Ivan

> Or is it the jvm that ant was started with?
> 
> //Mikael
> 
> -----Original Message-----
> From: Ivan Ivanov
> [mailto:rambiusparkisanius@yahoo.com]
> Sent: den 17 mars 2005 13:49
> To: Ant Users List
> Subject: Re: set jvm to 1.3
> 
> 
> See target attribute of <javac> task. You can do it
> like this:
> 
> <javac target="${javac.target}" ...>,
> define javac.target properties in your
> build.properties as
> javac.target=1.3
> 
> HTH Ivan
> 
> 
> --- "Mikael Petterson (KI/EAB)"
> <mikael.petterson@ericsson.com> wrote:
> > Hi,
> > 
> > I am starting ant 1.6.1 with jdk1.4.2 but I need
> to
> > compile my code with 1.3.
> > How can I set this in my build.properties and then
> > use in my javac task?
> > 
> > Any hints?
> > 
> > //Mikael
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > user-help@ant.apache.org
> > 
> > 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/ 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message