|Preselected JPA Platform and Implementation on JPA Facet page? [message #817067]
||Fri, 09 March 2012 10:43
| Kenneth Cheung
Registered: July 2009
What is the logic for the Preselected JPA Platform and Implementation on JPA Facet page?
We get our own "default" JPA Platform preselected on Eclipse 3.6 and 3.7 but the "Generic 2.0" on 4.2. We are not sure if it is random or deterministic.
Also for JPA Implementation it seems that if runtime target is selected it would be Library Provided by Target Runtime, otherwise it would be Disable Library Configuration. It is very logical. However it seems that the next time the wizard is lauched the previous JPA Platform and Implementation gets preselected regardless of the runtime. The last setting is stored in <workspace>\.metadata\plugins\.plugins\org.eclipse.wst.common.project.facet.core\prefs.xml
Do we get the existing logic correct? If so it seems a bit unconventional. If a user create a JPA project without target runtime then one with a runtime, he may unknowingly have the project with Diable Library Configuration and missing the runtime library.
Powered by FUDForum
. Page generated in 0.02852 seconds