Alistair Bush wrote:
After browsing thru the conversation relating to Maven and Fedora I thought I would put in the Gentoo Linux's perspective.
(snip)
Sadly we only have support for ant presently.
I wouldnt say sadly :)
To accomplish this we had to implement some funky build.xml rewriting to ensure that -source & -target were being passed to javac.
Ant1.7 lets you do this just by specifying some system properties which all java/javadoc declarations which dont specify a required version will pick up.
ant.build.javac.source Source-level version number Default source value for <javac>/<javadoc> ant.build.javac.target Class-compatibility version number Default target value for <javac>/<javadoc>
This avoids having to create a new compiler implemenation class that wraps your inner compiler, and setting that compiler's classname with the build.compiler property.
-Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
