[
https://issues.jboss.org/browse/FORGE-2384?page=com.atlassian.jira.plugin...
]
George Gastaldi updated FORGE-2384:
-----------------------------------
Description:
The JPAFacet implementations depend on certain libraries to be installed to be enabled.
However, if a project already has EclipseLink JARs or even OpenJPA JARs, the JPA Facet is
not recognized as installed. Therefore, it would be much better if the JPAFacet logic for
installation ({{isInstalled()}}) would just check for persistence descriptor existence and
the version attribute.
was:
The JPAFacet implementations depend on certain libraries to be installed to be enabled.
However, if a project already has EclipseLink JARs, the JPA Facet is not recognized as
installed. Therefore, it would be much better if the JPAFacet logic for installation
({{isInstalled()}}) would just check for persistence descriptor existence and the version
attribute.
Component/s: Java EE
Forum Reference:
http://lists.jboss.org/pipermail/forge-dev/2015-July/004289.html
JPAFacet.isInstalled() should only check for descriptor's
existence
-------------------------------------------------------------------
Key: FORGE-2384
URL:
https://issues.jboss.org/browse/FORGE-2384
Project: Forge
Issue Type: Enhancement
Components: Java EE
Affects Versions: 2.16.2.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.17.0.Final
The JPAFacet implementations depend on certain libraries to be installed to be enabled.
However, if a project already has EclipseLink JARs or even OpenJPA JARs, the JPA Facet is
not recognized as installed. Therefore, it would be much better if the JPAFacet logic for
installation ({{isInstalled()}}) would just check for persistence descriptor existence and
the version attribute.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)