ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Switch JDKs in one ANT session
Date Thu, 10 Jul 2003 11:23:56 GMT
Have you tried the 'compiler' attribute of <javac>?


Jan

> -----Original Message-----
> From: Sascha Woyde [mailto:sascha.woyde@gaussvip.com]
> Sent: Thursday, July 10, 2003 1:19 PM
> To: 'Ant Users List'
> Subject: Switch JDKs in one ANT session
> 
> 
> Hi all,
> 
> is there a way to use two JDKs for compiling
> classes with <javac>? I don't think of using
> any compatibility switches of one compiler,
> I have to compile some classes using
> JDK 1.3's javac and need 1.4 features for other
> targets. My current solution is to switch JAVA_HOME
> between two ANT sessions from the commandline,
> but I'd like to have only one ANT run.
> 
> Any ideas?
> 
> Thanks in advance,
> 
> Sascha
> 
> -- 
> Mit freundlichen GrĂ¼ssen / with kind regards
> 
> 
> Sascha Woyde
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message