1 Reply Latest reply on Jul 29, 2014 8:21 AM by ctomc

    how to retrieve / determine installed JBoss AS / WildFly version?

    lafr

      I'm searching for a more elegant to retrieve JBoss AS / WildFly major version number from command line, independent if server is running or not.

      Currently I have:

      - Oldest version is 4.2. So 4 is the default value.

      - If directory $JBOSS_HOME/standalone exists, version must be >= 7. Change value to 7.

      - If $JBOSS_HOME/modules/system/layers/base/io/undertow exists, it's version 8 or upper. Change value to 8.

       

      Now I want to distinguish between 8 and 9. How?

       

      Any better way?

      Must be working on Windows and Unix platforms.