Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-480

Fix order of entries in exported zip file

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.2.3
    • 1.2.2
    • impl-base
    • None

    Description

      ZipExporter from ShwinkWrap 1.0.1 created zip file with the following structure:

      Archive:  s-ramp-exporter.jar
       Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
      --------  ------  ------- ---- ---------- ----- --------  ----
             0  Defl:N        2   0% 03-31-2014 13:36 00000000  META-INF/
          3847  Defl:N      898  77% 03-31-2014 13:36 b04e8666  META-INF/switchyard.xml
             0  Defl:N        2   0% 03-31-2014 13:36 00000000  META-INF/beans.xml
             0  Defl:N        2   0% 03-31-2014 13:36 00000000  org/
             0  Defl:N        2   0% 03-31-2014 13:36 00000000  org/jboss/
             0  Defl:N        2   0% 03-31-2014 13:36 00000000  org/jboss/arquillian/
             0  Defl:N        2   0% 03-31-2014 13:36 00000000  org/jboss/arquillian/container/
             0  Defl:N        2   0% 03-31-2014 13:36 00000000  org/jboss/arquillian/container/sramp/
          1881  Defl:N      875  54% 03-31-2014 13:36 21ed2654  org/jboss/arquillian/container/sramp/DeploymentTest.class
      --------          -------  ---                            -------
          5728             1787  69%                            9 files
      

      Newer versions on ShrinkWrap gave me:

      Archive:  s-ramp-resource.jar
       Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
      --------  ------  ------- ---- ---------- ----- --------  ----
          3847  Defl:N      898  77% 03-30-2014 17:45 b04e8666  META-INF/switchyard.xml
             0  Defl:N        2   0% 03-30-2014 17:45 00000000  org/jboss/
             0  Defl:N        2   0% 03-30-2014 17:45 00000000  META-INF/beans.xml
             0  Defl:N        2   0% 03-30-2014 17:45 00000000  org/jboss/arquillian/container/
          1790  Defl:N      842  53% 03-30-2014 17:45 7a7ed211  org/jboss/arquillian/container/sramp/DeploymentTest.class
             0  Defl:N        2   0% 03-30-2014 17:45 00000000  org/jboss/arquillian/container/sramp/
             0  Defl:N        2   0% 03-30-2014 17:45 00000000  META-INF/
             0  Defl:N        2   0% 03-30-2014 17:45 00000000  org/jboss/arquillian/
             0  Defl:N        2   0% 03-30-2014 17:45 00000000  org/
      --------          -------  ---                            -------
          5637             1754  69%                            9 files
      

      Would it be possible to provide users with both exporting mechanisms (single & multi threaded)? By default use the multi-threaded approach.

      I assume this behavior is result of https://issues.jboss.org/browse/SHRINKWRAP-434. It's not against ZIP standard, afaik, however due to such structure I had to revert to older version of ShrinkWrap (I need zip file for further processing by 3rd party library)

      Attachments

        Activity

          People

            mmatloka Michal Matloka (Inactive)
            sbunciak-rh Stefan Bunciak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: