[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dali] Re: JPA implementation library warning

Leonard Theivendra wrote:
Thanks Paul. This appears to be a change in behaviour for Dali 2.2 since in 2.0.x the "Use implementation provided by server runtime" option is selected by default when using the same runtime provider and JPA platform.

Yes, this made the "new and noteworthy" for 2.1: http://eclipse.org/webtools/releases/3.1.0/newandnoteworthy/jpa.php


In 2.2, the only option in the pulldown is "Disable library configuration". Is this because our server runtime doesn't define specific libraries for the JPA facet?

It's because it isn't set up to *provide* libraries for the JPA facet. Note that if you use "Disable library configuration", you should be in the same boat as 2.0.x, only with a configuration warning.


I tried adding this but it didn't seem to help:

   <supported>
     <runtime-component
        id="xyz.runtime"
        version="1.0"/>
     <facet
        id="jpt.jpa"
        version="1.0, 2.0"/>
   </supported>

Do you have any examples what the server runtime adapter needs to define to make the "Runtime library provider" option show up and get chosen by default?

Unfortunately, WTP server runtimes do not yet provide this functionality. https://bugs.eclipse.org/bugs/show_bug.cgi?id=254536 https://bugs.eclipse.org/bugs/show_bug.cgi?id=254537 https://bugs.eclipse.org/bugs/show_bug.cgi?id=254540

For examples, you'll have to check JBoss Tools or OEPE, who I believe already have this funtionality, and unfortunately, for more help, WTP common would be a better place to seek it.

Hope this helps,
- Paul