]
Martin Simka moved JBEAP-5145 to WFCORE-1628:
---------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1628 (was: JBEAP-5145)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: CLI
(was: CLI)
Target Release: (was: 7.backlog.GA)
Create module using 'module add' CLI command with
absolute-path in resource-root element
----------------------------------------------------------------------------------------
Key: WFCORE-1628
URL:
https://issues.jboss.org/browse/WFCORE-1628
Project: WildFly Core
Issue Type: Enhancement
Components: CLI
Reporter: Martin Simka
Assignee: Alexey Loubyansky
MODULES-218, included in EAP 7.0.0.GA, allows absolute paths to be used for
resource-roots in module.xml. But there is no way to create module with absolute paths in
resource-roots using CLI command {{module add}}.
{quote}
resource-root's path previously only allowed resources within the module's
directory, e.g.:
<resource-root path="wildfly-controller-2.2.0.CR2.jar"/>
With MODULES-218 it allows resources to exist anywhere on the filesystem, in the form of
an absolute path, e.g.:
<resource-root
path="/Users/whoever/mymodules/wildfly-controller-2.2.0.CR2.jar"/>
{quote}