Bug 809051

Summary: Make it easy for installed versions of EPP to be identified - include version.txt
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Shaun Appleton <sappleto>
Component: Portal PackagingAssignee: hfnukal <hfnukal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: epp-bugs, mvanco, mweiler, theute
Target Milestone: CR02   
Target Release: 6.0.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-16 08:55:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shaun Appleton 2012-04-02 10:52:31 UTC
https://issues.jboss.org/browse/PRODMGT-133 has been approved - 

For Auditing purposes a customer would like to know which versions of EPP and EAP they have on their system.

(This is possible if they analyse the boot.log / server.log )
But as they want to know what they have installed EPP or EAP may not have been run.

In SOA-P this is easy as there is a version.txt file at the top level.

The RFE is to include a version.txt file in EPP and EAP that describes the correct product version. This would make this sort of analysis eaiser and make our product consistent.

Although the request applies to EAP and EPP it should be applied to all products.


customer comments:
I just talked to one off my colleguaes about this topic and he told me that there is a standard for this. It is in ISO/IEC 19770-2: Software identification tag.
We are using software discovery tool which is able to read tags in this format.

Comment 1 Thomas Heute 2012-06-06 12:14:18 UTC
The exact version is included in all META-INF descriptors, do we really need more than that ?

Comment 2 Thomas Heute 2012-06-06 12:21:28 UTC
The exact version is included in META-INF/MANIFEST.MF descriptors and also in JARs, do we really need more than that ? (Adding a file could be more error-prone )

For instance:
file-roller jboss-epp-5.2/jboss-as/server/default/deploy/gatein.ear/lib/exo.portal.server.jboss.plugin-5.2.1-GA.jar

The version is in the name of the jar and also included in it's META-INF/MANIFEST.MF

Comment 3 Martin Weiler 2012-06-07 07:25:52 UTC
The customer would like to have a plain text file with the version information, so that they can scan all servers for enterprise products and gather information about the products and versions in use. In SOA-P there already is a version.txt file at the top level, and it would be nice to have the same in the other products.

Comment 4 Thomas Heute 2012-06-07 07:39:13 UTC
Can someone be more specific on what to find in the file ?

http://www.iso.org/iso/catalogue_detail.htm?csnumber=53670 is insanely 200$ ...

Also it seems so involve more than just the version number and we need to agree on exact spelling on application creator and such... We'll need a template to copy.

Comment 5 Shaun Appleton 2012-06-19 08:13:36 UTC
Sorry I don't know what to find in the file.

In https://issues.jboss.org/browse/PRODMGT-133 I have suggested the standard be purchased as it would make sense for this standard to be applied to all products.

Comment 7 hfnukal@redhat.com 2013-02-25 01:47:36 UTC
jboss-jpp-6.0/version.txt