[
https://issues.apache.org/jira/browse/OPENJPA-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022116#comment-13022116
]
Rick Curtis commented on OPENJPA-467:
-------------------------------------
I'm pretty sure this[1] is the same conversation.
Unfortunately I'm thinking that the status of this JIRA is similar to the link
posted previously. Feel free to upvote this issue, or even dig into the code if
you have some cycles. I'd gladly take a look at patch.
Thanks,
Rick
[1] http://openjpa.markmail.org/thread/2mj4wokgprs3usrj
> openjpac Ant task should not require persistence.xml
> ----------------------------------------------------
>
> Key: OPENJPA-467
> URL: https://issues.apache.org/jira/browse/OPENJPA-467
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 1.0.1
> Reporter: Daniel Dyer
>
> The Ant enhancer task requires a persistence.xml file in order to function
> correctly. It needs this even if there is no useful information in it (the
> list of classes to enhance is provided separately and the database settings
> are irrelevant).
> You can't use the persistence.xml that will be deployed with the persistence
> unit because it may refer to a JAR file that has not been built yet (because
> the classes have to be enhanced before being packaged). So you have to
> create a separate persistence.xml just for the build step.
> The task should function even if no persistence.xml is available. Perhaps it
> would also be useful to be able to optionally specify properties as nested
> elements in the build.xml rather than in persistence.xml.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira