I am using the "Hibernate JPA 2 Metamodel Generator", it's a
Annotation (Pre)Processor (JSR 269)  for Java Persistence.

After adding it to compile-dependecies it generates the java files in
the classes dir while task compileJava executes.

How can I change the target-dir just for the Generator in a temp-dir
e.g. build/metamodel and add it to the sourcepath of the
real-compiler?

Do I have to compile 2 times (once with compiler arg '-proc:only' and
second with '-proc:none' switching from only processing to not
processing? How can I do this?


Is there ready to use function in gradle for this task?

Thanks

Micha

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to