ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: java -source 1.4 switch in ant
Date Thu, 11 Apr 2002 17:45:53 GMT
Actually, I believe it works only if you don't fork the <javac> task. Had to
patch 1.4.1 locally with fix already on 1.5alpha to support it. And forking
you must if you want to ensure the VM gets enough memory for compiling large
projects... --DD

-----Original Message-----
From: Chas Douglass [mailto:chas@floogle.net] 
Sent: Thursday, April 11, 2002 10:53 AM
To: Ant Users List
Subject: RE: java -source 1.4 switch in ant


At 09:28 AM 4/11/2002 +0100, you wrote:
> > can someone tell me how i can switch to -source 1.4 in ant. I
> > want enable the assert command.
>
>According to the documentation at 
>http://jakarta.apache.org/ant/manual/index.html (which may or may not be 
>valid for your version) you can just use
>
><javac ...
>        source="1.4" />
>
>Jon

I think this was one of the fixes in 1.4.1.

I'm pretty sure that's why I had to upgrade to it.

Chas Douglass



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

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


Mime
View raw message