Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5144

Create module using 'module add' CLI command with absolute-path in resource-root element

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR2
    • None
    • CLI
    • None

      MODULES-218, included in EAP 7.0.0.GA/WildFly Core 2.1.2, 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.

      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"/>

            msimka@redhat.com Martin Simka
            msimka@redhat.com Martin Simka
            Petr Kremensky Petr Kremensky (Inactive)
            Petr Kremensky Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: