[
https://issues.jboss.org/browse/WFLY-5676?page=com.atlassian.jira.plugin....
]
ehsavoie Hugonnet commented on WFLY-5676:
-----------------------------------------
To get the version you should use the ProductConfig or the Maangement API.
For example the CLI gives :
[standalone@localhost:9990 /] :read-attribute(name=product-version)
{
"outcome" => "success",
"result" => "10.0.0.CR5-SNAPSHOT"
}
[standalone@localhost:9990 /] :read-attribute(name=product-name)
{
"outcome" => "success",
"result" => "WildFly Full"
}
Wrong WildFly version when WildFly standalone is started
--------------------------------------------------------
Key: WFLY-5676
URL:
https://issues.jboss.org/browse/WFLY-5676
Project: WildFly
Issue Type: Bug
Components: Server
Affects Versions: 9.0.2.Final
Reporter: Stefan Lindner
Assignee: Jason Greene
See also Bug WFLY-2544
Wildfly 9.2.0 final reports Version 1.0.2 if asked from within Java-application
(consulting org.jboss.as.version.Version):
AS_VERSION = 1.0.2.Final
AS_RELEASE_CODENAME = Kenny
Yes, we could test if it's "kenny" and the aha: 1.0.2 is 9.0.2 but this
sounds strange
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)