[jbosstools-issues] [JBoss JIRA] (JBIDE-17396) Unable to discover version of WF 8.1.0 patched build
Rob Stryker (JIRA)
issues at jboss.org
Fri May 23 06:16:59 EDT 2014
Rob Stryker created JBIDE-17396:
-----------------------------------
Summary: Unable to discover version of WF 8.1.0 patched build
Key: JBIDE-17396
URL: https://issues.jboss.org/browse/JBIDE-17396
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.2.0.Beta2
Reporter: Rob Stryker
Priority: Critical
Creating a server/runtime out of a patch-build wildfly8.1.0.CR4 cannot correctly determine the version of the given home directory.
The reason for this bug is that the class in charge of discovering a server version is looking for a jar that can properly give the versioning information. For wildfly, we are looking to introspect the jar modules/system/layers/org/jboss/as/server/main/*.jar. And we are looking for the manifest.mf property key: JBossAS-Release-Version
Currently, trying to introspect this jar fails, because the jar is an invalid jar file.
It must be recognized that there is now no safe way / agreed-upon API to determine the version of a given server installation when the server is stopped.
There are options:
1) We respect the module structure / overlay layout and simply look for the correct module folder for "org.jboss.as.server", or
2) We agree to one single file that will be updated and hold the version information for a given project or product release.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jbosstools-issues
mailing list