Hi,

i am quite sure that there were a lot more jars when i had the single ALL 
dependency in my ivy setup. 
Dont have the time to prove right now. In fact one dont need the service file 
when using the -processor flag in javac.

---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de




Am 24.03.2011 um 14:00 schrieb Pinaki Poddar:

> Hi,
>  The annotation processing requires dependency on openjpa-all jar. Can you
> please explain why you declared dependencies to individual module jars but
> not the consolidated openjpa jar? 
> 
>> I dont want to inlcude "openjpa" as a whole because i want to leave
> out unneeded clutter. 
>    But it seemed to be OK to include 3/4 individual openjpa*.jar -- that
> looks more cluttered to me.
> 
>     Anyway, our service file packaging will not cope with the individual
> jar dependencies as you have described. You need to have a single openjpa
> jar in your classpath
> 
>  To generate canonical metamodel classes using OpenJPA has two
> pre-requisites
>   1. compiler classpath must have consolidated openjpa jar
>   2. Compiler argument -Aopenjpa.metamodel=true must be set 
> 
> 
> 
> 
> -----
> Pinaki 
> --
> View this message in context: 
> http://openjpa.208410.n2.nabble.com/MetaModel-creation-with-Aopenjpa-generate-true-tp6200077p6203998.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to