Bug 1034087 - Each product zips's root should be a single directory with the product name and version to make it handier to unzip
Summary: Each product zips's root should be a single directory with the product name a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Build and Assembly
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ER6
: 6.0.0
Assignee: Ryan Zhang
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 08:59 UTC by Geoffrey De Smet
Modified: 2014-08-06 20:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:20:28 UTC
Type: Bug
Embargoed:
rzhang: needinfo-


Attachments (Terms of Use)

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.


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