[jboss-jira] [JBoss JIRA] (WFCORE-3802) Add main-class to the org.jboss.jandex module.xml to make it easier to run jandex
Brad Maxwell (JIRA)
issues at jboss.org
Fri May 4 18:14:00 EDT 2018
[ https://issues.jboss.org/browse/WFCORE-3802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571778#comment-13571778 ]
Brad Maxwell commented on WFCORE-3802:
--------------------------------------
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 versions when jar names change.
{code}
java -jar jboss-modules.jar -mp modules/ org.jboss.jandex [jandex options]
{code}
A jandex.sh / jandex.bat would further simplify this.
> Add main-class to the org.jboss.jandex module.xml to make it easier to run jandex
> ---------------------------------------------------------------------------------
>
> Key: WFCORE-3802
> URL: https://issues.jboss.org/browse/WFCORE-3802
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Server
> Reporter: Brad Maxwell
> Assignee: Bartosz Spyrko-Śmietanko
> Priority: Minor
> Fix For: 5.0.0.Alpha6
>
>
> Adding main-class will let JBoss Modules know the class to run and allow you to run jandex via java -jar $JBOSS_HOME/jboss-modules -mp $JBOSS_HOME/modules org.jboss.jandex
> <module xmlns="urn:jboss:module:1.1" name="org.jboss.jandex">
> ...
> <main-class name="org.jboss.jandex.Main"/>
> ...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list