-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 8.10
-
Component/s: Nuxeo Package Management
-
Epic Link:
-
Tags:
-
Sprint:nxFG 8.4.3, nxFG 8.4.4
-
Story Points:5
A package installation script needs to be able to test the platform in which the install is done and the already-installed packages to decide if a given bundle/lib should be installed.
For example, in nuxeo-quotas, the JSF UI part cannot be installed on a pure Nuxeo Server without JSF UI.
—
To add a conditional install for a package, in its install.xml you can put the bundles that are specific to the JSF UI in a install/bundles-jsf-ui folder and add something like:
<update file="${package.root}/install/bundles-jsf-ui" todir="${env.bundles}" if="Packages.contains('nuxeo-jsf-ui')" />