[
https://issues.apache.org/jira/browse/OPENJPA-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022003#comment-13022003
]
Stian L commented on OPENJPA-467:
---------------------------------
The link to the mailing list thread is dead.. What is the current status of
this issue?
> 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