juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Commented: (JUDDI-166) Need review persistence.xml setup
Date Sat, 07 Feb 2009 16:32:59 GMT

    [ 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.


Mime
View raw message