Bug 1020231 - RFE: FSW installer should contain manifest with build version
Summary: RFE: FSW installer should contain manifest with build version
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Installer
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER7
: ---
Assignee: Thomas Hauser
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-17 10:32 UTC by ppecka
Modified: 2014-02-06 15:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description ppecka 2013-10-17 10:32:13 UTC
Description of problem:
Installer jar do not expose product build version. The only way i was able to get along with this is unzipping installer jar and than running strings command.
strings packs/pack-soa-fuse-serviceworks | grep JBoss-Product-Release-Version

produces:
JBoss-Product-Release-Version: 6.0.0.ER4-redhat-1


Would be great if the installer jar file contains build version and product name fuse-service-works-6.0.0.ER4-8-redhat-1 in plain text. Manifest file, or version.txt file placed in file root would work.

Comment 2 Nick Cross 2013-10-17 11:08:26 UTC
I'm not sure if it should contain "fuse-service-works" (as the installer might not be installing FSW) However we should put the version in there. 

Is it possible to extend IzPack to add further command line options like a "-version" ?

Comment 3 Thomas Hauser 2013-10-21 17:48:21 UTC
Expanding IzPack like that should be a cinch actually, and have it display a version variable we can specify at build time. Does that sound like a desirable resolution to this issue?

Comment 4 Thomas Hauser 2013-10-21 17:48:36 UTC
Expanding IzPack like that should be a cinch actually, and have it display a version variable we can specify at build time. Does that sound like a desirable resolution to this issue?

Comment 5 ppecka 2013-11-04 15:46:42 UTC
(In reply to Thomas Hauser from comment #4)
> Expanding IzPack like that should be a cinch actually, and have it display a
> version variable we can specify at build time. Does that sound like a
> desirable resolution to this issue?

Expanding IzPack seems to be sufficient solution

Comment 6 Thomas Hauser 2013-11-13 20:07:56 UTC
IzPack has been modified to display information in the following way:

[[thauser] [15:05:17] fsw-installer (vaultedSrampConfig)]$java -jar target/jboss-fsw-6.0.0.ER6-installer.jar -version
Version: 6.0.0.ER6

Is this sufficient? Do we need more information to be displayed? 

Thanks,
Tom

Comment 7 Thomas Hauser 2013-12-13 17:51:51 UTC
ER7-2 has this information available as per the above comment:

[[thauser] [12:51:35] fsw-installer (master)]$java -jar target/jboss-fsw-installer-6.0.0.ER7-redhat-2.jar -version
Product: Red Hat JBoss Fuse Service Works Installer
Version: 6.0.0.ER7-redhat-2

Comment 8 Pavol Srna 2013-12-16 12:11:37 UTC
Verified in ER7 build.


Note You need to log in before you can comment on or make changes to this bug.