You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2009/02/07 17:32:59 UTC

[jira] Commented: (JUDDI-166) Need review persistence.xml setup

    [ https://issues.apache.org/jira/browse/JUDDI-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671486#action_12671486 ] 

Kurt T Stam commented on JUDDI-166:
-----------------------------------

This maybe helpful, it shows how to pass settings in through system properties in maven.

http://svn.apache.org/repos/asf/openjpa/tags/0.9.7-incubating/openjpa-persistence-jdbc/pom.xml

> Need review persistence.xml setup
> ---------------------------------
>
>                 Key: JUDDI-166
>                 URL: https://issues.apache.org/jira/browse/JUDDI-166
>             Project: jUDDI
>          Issue Type: Bug
>            Reporter: Tom Cunningham
>            Assignee: Kurt T Stam
>             Fix For: 3.0beta
>
>
> Currently, our persistence.xml's are stored in juddi-core/src/main/resources/persistence.        The user chooses the persistence framework they want using a property during the build :
> cd juddi-core
> mvn -Dpersistence=(hibernate|openjpa) clean install (where persistence= one of hibernate/openjpa)
> The persistence.xml then ends up in the built juddi-core.jar.     Should we be shipping a persistence.xml inside of juddi-core.jar?

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