Hide Forgot
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.
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" ?
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?
(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
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
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
Verified in ER7 build.