openjpa-dev mailing list archives

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


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:
>             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