openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-467) openjpac Ant task should not require persistence.xml
Date Wed, 20 Apr 2011 13:34:05 GMT


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.



> openjpac Ant task should not require persistence.xml
> ----------------------------------------------------
>                 Key: OPENJPA-467
>                 URL:
>             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
> 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:

View raw message