Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] persistence.xml with filter var - error: cannot be resolved

Seems like jpa doesn't use the filtered file. Not sure how to workaround that for the moment. Can you please open a ticket on https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2E-WTP?

Le 7 janv. 2014 22:40, "Marcus Malcom" <malcomm314@xxxxxxxxx> a écrit :
Any help with this one? This sure seems like a bug to me.


On Thu, Oct 31, 2013 at 9:13 AM, Marcus Malcom <malcomm314@xxxxxxxxx> wrote:
Just wanted to make sure this didn't, does anyone have any ideas about how to get this supported? 

Unfortunately issues like this are making me (a very long time user of Eclipse) to start considering other IDEs. I'm limping along ... but m2e support seems to be rather lacking.


On Mon, Oct 21, 2013 at 10:27 AM, Marcus Malcom <malcomm314@xxxxxxxxx> wrote:
Running into a problem where a persistence.xml has a filter variable and Eclipse m2e (m2e-wtp) is having trouble resolving this.

Versions:
  • Eclipse Kepler Service Release 1
  • m2e - Maven Integration for Eclipse 1.4.0.20130601-0317
  • m2e-wtp - JPA configurator for WTP 1.0.1.e43-20130911-1546
  • m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545
Example persistence.xml:

<persistence>
    <persistence-unit>
        ...
        <jar-file>some-jar-${some.version}.jar</jar-file>
        ...
    </persistence-unit>
</persistence>

Error:
  • Type: JPA Problem
  • Description: JAR file "some-jar-${some.version}.jar" cannot be resolved  persistence.xml

Any help?

Thank you,

Marcus





_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top