Use the target attribute for the javac task. target="1.5" for example
On Wed, 22 Oct 2008, nlif wrote:
Hi, I suspect that although I use JDK 1.6 to run ANT's javac task, the source/target compatability level is 1.5 and not 1.6. I know that I can -and should- specify them using the source and target attributes, but I would like to know where from does ANT take the default values for these attributes. Can anybody provide this information? Thanks, Naaman -- View this message in context: http://www.nabble.com/javac-source-and-target-default-values-tp20111811p20111811.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim Architect Keros http://sourceforge.net/projects/keros --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]