You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Russell Teabeault (Created) (JIRA)" <ji...@apache.org> on 2012/02/14 17:45:59 UTC

[jira] [Created] (BUILDR-626) Add option to allow packaging of zip and jar archives using the zip and jar commands

Add option to allow packaging of zip and jar archives using the zip and jar commands
------------------------------------------------------------------------------------

                 Key: BUILDR-626
                 URL: https://issues.apache.org/jira/browse/BUILDR-626
             Project: Buildr
          Issue Type: Improvement
          Components: Packaging
            Reporter: Russell Teabeault


Zip and Jar packaging in buildr is pretty slow compared to packaging using the zip and jar commands.  Buildr is currently using the rubyzip package to accomplish its packaging.  I propose adding an option so that instead of using the rubyzip lib it will instead shell out and use zip/unzip or jar.  My initial testing shows that packaging one of our zip files using zip takes between 10 and 15 seconds.  Creating the same archive using buildr's rubyzip implementation takes about 1 minute and 15 to 30 seconds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (BUILDR-626) Add option to allow packaging of zip and jar archives using the zip and jar commands

Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald updated BUILDR-626:
--------------------------------

    Fix Version/s: 1.5
    
> Add option to allow packaging of zip and jar archives using the zip and jar commands
> ------------------------------------------------------------------------------------
>
>                 Key: BUILDR-626
>                 URL: https://issues.apache.org/jira/browse/BUILDR-626
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Russell Teabeault
>             Fix For: 1.5
>
>
> Zip and Jar packaging in buildr is pretty slow compared to packaging using the zip and jar commands.  Buildr is currently using the rubyzip package to accomplish its packaging.  I propose adding an option so that instead of using the rubyzip lib it will instead shell out and use zip/unzip or jar.  My initial testing shows that packaging one of our zip files using zip takes between 10 and 15 seconds.  Creating the same archive using buildr's rubyzip implementation takes about 1 minute and 15 to 30 seconds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BUILDR-626) Add option to allow packaging of zip and jar archives using the zip and jar commands

Posted by "Russell Teabeault (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207821#comment-13207821 ] 

Russell Teabeault commented on BUILDR-626:
------------------------------------------

As a side note rake's package task uses the zip command to do its zipping and unzipping.

http://rake.rubyforge.org/classes/Rake/PackageTask.html
                
> Add option to allow packaging of zip and jar archives using the zip and jar commands
> ------------------------------------------------------------------------------------
>
>                 Key: BUILDR-626
>                 URL: https://issues.apache.org/jira/browse/BUILDR-626
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Russell Teabeault
>
> Zip and Jar packaging in buildr is pretty slow compared to packaging using the zip and jar commands.  Buildr is currently using the rubyzip package to accomplish its packaging.  I propose adding an option so that instead of using the rubyzip lib it will instead shell out and use zip/unzip or jar.  My initial testing shows that packaging one of our zip files using zip takes between 10 and 15 seconds.  Creating the same archive using buildr's rubyzip implementation takes about 1 minute and 15 to 30 seconds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira