[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 12:05:57 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970168#comment-12970168 ] 

Rob Stryker commented on JBIDE-17396:
-------------------------------------

This patch applies to wf and other as7-style installations, and a little for product installations which look for their version information in  base/org/jboss/as/product/SLOT/dir/META-INF/MANIFEST.MF.  

For products, we also check the underlying AS version as well from the server jar to get the implementation version of the underlying AS from manifest. 

> 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