[jbosstools-issues] [JBoss JIRA] (JBIDE-14829) Relative path in <jar-file> definition in <persistence-unit> gives validation error

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Jun 18 05:48:20 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-14829:
----------------------------------------

    Component/s: hibernate
                 upstream


I dont think this is new behavior and I do think this is actually Eclipse Dali giving you the error.

Could you please attach sample project and the exact error so we can be sure ?
                
> Relative path in <jar-file> definition in <persistence-unit> gives validation error
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-14829
>                 URL: https://issues.jboss.org/browse/JBIDE-14829
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate, upstream
>    Affects Versions: 4.1.0.Beta1
>         Environment: Windows Eclipse Kepler M7 + JBoss Tools 4.1.Beta1
>            Reporter: Sean O'Hagan
>
> We have a persistence.xml with multiple datasources and entity jars. With the latest JBoss Tools, we just started getting a validation error on the <jar-file> tags which contain relative paths (e.g. ../lib/my-entity-file.jar) as shown here: http://stackoverflow.com/questions/4073635/sharing-a-persistence-unit-across-components-in-a-ear-file
> This didn't happen in earlier versions of Eclipse/JBoss tools, including Kepler M7 + JBoss Tools 4.1.Alpha1.
> If there is a better way to specify picking up this jar file, please indicate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list