You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2008/04/07 20:58:41 UTC

[jira] Commented: (CAMEL-448) Upgraded to OpenJPA 1.0.2

    [ https://issues.apache.org/activemq/browse/CAMEL-448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42049#action_42049 ] 

Claus Ibsen commented on CAMEL-448:
-----------------------------------

Commited a patch to trunk.

Open-jpa from v1.0.0 requires a persistance.xml file in its enhancer:

The tasks in ant now have included a reference to the persistence.xml fil
<config propertiesFile="${basedir}/src/main/resources/META-INF/persistence.xml"/>


{code}
                <openjpac directory="${basedir}/target/jpa-classes">
                  <classpath refid="cp"/>
                  <fileset dir="${basedir}/target/classes">
                    <include name="org/apache/camel/processor/**/M*.class"/>
                  </fileset>
				  <config propertiesFile="${basedir}/src/main/resources/META-INF/persistence.xml"/>
                </openjpac>
                <openjpac directory="${basedir}/target/jpa-test-classes">
                  <classpath refid="cp"/>
                  <fileset dir="${basedir}/target/test-classes">
                    <include name="org/apache/camel/examples/*.class"/>
                  </fileset>
				  <config propertiesFile="${basedir}/src/main/resources/META-INF/persistence.xml"/>
                </openjpac>
{code}

> Upgraded to OpenJPA 1.0.2
> -------------------------
>
>                 Key: CAMEL-448
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-448
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jpa
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> OpenJPA in release 1.0 and onwards requires a change in the ant build in the pom.xml
> It now requires a persistance.xml file to use.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.