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:[EMAIL PROTECTED]] 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
