Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1291

Each product zips's root should be a single directory with the product name and version to make it handier to unzip

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 6.0.0
    • 6.0.0
    • Build and Assembly
    • None

    Description

      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.

      Attachments

        Activity

          People

            rzhang+1@redhat.com Cheng Zhang (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson
            Marek Winkler Marek Winkler (Inactive)
            Marek Winkler Marek Winkler (Inactive)
            Cheng Zhang (Inactive), Lukáš Petrovický (Inactive), Marek Baluch, Marek Winkler (Inactive), Rajesh Rajasekaran

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty