[
https://issues.apache.org/jira/browse/JUDDI-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675163#action_12675163
]
Kurt T Stam commented on JUDDI-166:
-----------------------------------
I think we should be shipping the persistence.xml in the
juddi.war/WEB-INF/classes/META-INF/persistence.xml.
That way users don't have to break open the jar when they want to configure
their database.
This will break the unittests, but we should try setting it in maven (see the
link above).
> 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.