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: [email protected]
For additional commands, e-mail: [email protected]