Can you try removing @ManagedInterface to see if that helps? If not, I'll
try to recreate.

Thanks,
Rick

On Wed, Apr 25, 2012 at 9:57 AM, CarpathianAnonymous <
andreibratu2...@yahoo.com> wrote:

> Hello Rick,
>
> I'm using version 2.1.1 of OpenJPA but i've tried also with 2.2.0.
> The classes are enhanced using the following code in build.xml file:
>
> <target name="-pre-jar">
>        <echo message="begin openJPAC"/>
>        <path id="openjpa.path.id">
>            <pathelement location="${build.classes.dir}"/>
>
>
>            <fileset
> dir="C:\Users\jan\Documents\NetBeansProjects\[Libs]\Apache_OpenJPA\v2.1.1\"
> includes="*.jar"/>
>
>
>
>        </path>
>
>        <taskdef name="openjpac"
> classname="org.apache.openjpa.ant.PCEnhancerTask">
>            <classpath refid="openjpa.path.id"/>
>        </taskdef>
>
>        <openjpac>
>            <classpath refid="openjpa.path.id"/>
>        </openjpac>
>        <echo message="end openJPAC"/>
>    </target>
>
> The @ManagedInterface annotation is not necessary, I was just testing with
> it.
>
>

-- 
*Rick Curtis*

Reply via email to