Bug 1034087

Summary: Each product zips's root should be a single directory with the product name and version to make it handier to unzip
Product: [Retired] JBoss BRMS Platform 6 Reporter: Geoffrey De Smet <gdesmet>
Component: Build and AssemblyAssignee: Ryan Zhang <rzhang>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Winkler <mwinkler>
Severity: low Docs Contact:
Priority: high    
Version: 6.0.0CC: lpetrovi, mbaluch, mwinkler, rrajasek, rzhang
Target Milestone: ER6Flags: rzhang: needinfo-
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:20:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Geoffrey De Smet 2013-11-25 08:59:48 UTC
Currently, for example the optaplanner zip, has in it's root 4 directories (binaries, examples, sources, webexamples). So if you unzip this into ~/tmp/ with already 2 dirs (bar, foo), you get in ~/tmp a clutter of 6 dirs:
~/tmp
~/tmp/bar // Not part of BRMS
~/tmp/binaries
~/tmp/examples
~/tmp/foo // Not part of BRMS
~/tmp/sources
~/tmp/webexamples

In the maven assembly, simply add this 1 liner:
  <includeBaseDirectory>true</includeBaseDirectory>

And you get:
~/tmp
~/tmp/bar
~/tmp/foo
~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/
~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/binaries
~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/examples
~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/sources
~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/webexamples

Much handier.

Comment 2 Ryan Zhang 2013-11-25 09:09:40 UTC
Currently all product zip is followed that no base directory. 
After discussion with Geoffrey in IRC, Geoffrey think it would be better to make all product to have a base directory for better experience.

I want to make sure this change won't impact QE's test work.

Lukas,Marek, could you comfirm if this changes to  BPMS, BRMS product zip would be ok with the test work?

Comment 4 Marek Winkler 2014-01-15 17:32:56 UTC
Verified on BRMS 6.0.0 ER7.