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

[GSS](7.1.z) Add main-class to org.jboss.jandex module to simplify usage

    XMLWordPrintable

Details

    Description

      When a cumulative patch is applied, it changes the location and potentially file name of the jandex jar file if patched.

      If we specify the main class in the module.xml

      <module xmlns="urn:jboss:module:1.3" name="org.jboss.jandex">
          <properties>
              <property name="jboss.api" value="private"/>
          </properties>
      
          <main-class name="org.jboss.jandex.Main"/>
      ...
      

      It will simplify the command to this below, where the jandex jar location/name is not needed, it can just reference the module name and will be consistent across CP updates.

      java -jar jboss-modules.jar -mp modules/ org.jboss.jandex [jandex options]
      

      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/development_guide/#add_an_explicit_module_dependency_to_a_deployment

      Attachments

        Issue Links

          Activity

            People

              spyrkob Bartosz Spyrko-Smietanko
              rhn-support-bmaxwell Brad Maxwell
              Daniel Cihak Daniel Cihak
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: