ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OrlandoDFree <odf...@sbcglobal.net>
Subject Re: How to invoke the JDK 1.6 annotation processing engine?
Date Wed, 15 May 2013 23:10:15 GMT
In Java 1.6, you access the annotation processor by a flag sent to the
compiler. So you can do the same thing in ANT, using the javac ANT task.

		<javac srcdir="${src}" destdir="${src}" excludes="*_.java" source="1.7">
			<classpath refid="lib.path"/>
			<compilerarg value="-Aopenjpa.metamodel=true"/>
		</javac>




--
View this message in context: http://ant.1045680.n5.nabble.com/How-to-invoke-the-JDK-1-6-annotation-processing-engine-tp1347722p5714170.html
Sent from the Ant - Users mailing list archive at Nabble.com.

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


Mime
View raw message