openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: MetaModel creation with -Aopenjpa.generate=true
Date Wed, 23 Mar 2011 13:52:43 GMT
> openjpa-parent\openjpa\target\openjpa-2.1.0-SNAPSHOT.jar from my build
environment has it. I also see the file in openjpa-all-2.1.0-SNAPSHOT.jar.

Thanks,
Rick



On Wed, Mar 23, 2011 at 8:45 AM, Marc Logemann <li@logemann.org> wrote:

> Hmmm. I dont find the service definition file in any of the openjpa jars.
> According to specs, the file should be named:
>
> META-INF/services/javax.annotation.processing.Processor
>
> I cant find such a file anywhere.
>
> Am i wrong?
>
> ---
> regards
> Marc Logemann
> http://www.logemann.org
> http://www.logentis.de
>
>
>
>
> Am 23.03.2011 um 13:26 schrieb Marc Logemann:
>
> > Hi,
> >
> > i want to create metamodel classes during build time. So i did that:
> >
> >        <javac destdir="${build.dir}" fork="true" debug="true"
> optimize="false"
> >               deprecation="false" failonerror="true" target="1.6"
> memoryinitialsize="512m" memorymaximumsize="512m">
> >            <src path="${src.dir}"/>
> >            <classpath refid="classpath"/>
> >            <compilerarg value="-Aopenjpa.metamodel=true"/>
> >        </javac>
> >
> > see the compilerarg feature. The other stuff was already in my build....
> >
> > But i dont see any results. I see no classes being generated somewhere. I
> also dont see any warnings or stuff in the build itself. I am using these
> dependencies related to OpenJPA
> >
> >        <dependency org="org.apache.openjpa" name="openjpa-jdbc"
> rev="2.1.0" conf="default->default,sources,javadoc"/>
> >        <dependency org="org.apache.openjpa" name="openjpa-kernel"
> rev="2.1.0" conf="default->default,sources,javadoc"/>
> >        <dependency org="org.apache.openjpa" name="openjpa-lib"
> rev="2.1.0" conf="default->default,sources,javadoc"/>
> >        <dependency org="org.apache.openjpa" name="openjpa-persistence"
> rev="2.1.0"
> >                    conf="default->default,sources,javadoc"/>
> >        <dependency org="org.apache.openjpa"
> name="openjpa-persistence-jdbc" rev="2.1.0"
> >                    conf="default->default,sources,javadoc"/>
> >        <dependency org="org.apache.geronimo.specs"
> name="geronimo-jpa_2.0_spec" rev="1.1"/>
> >
> >
> > Can anybody tell me whats wrong?
> >
> >
> > ---
> > regards
> > Marc Logemann
> > http://www.logemann.org
> > http://www.logentis.de
> >
> >
> >
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message