[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4193) WTP zipped deployment

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Apr 23 06:08:51 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12464044#action_12464044 ] 

Rob Stryker commented on JBIDE-4193:
------------------------------------

To zip up a project, first you must discover what files go into this zip (pattern matching for includes patterns) and then you must run the zip algorithm (compression) on each and every file being added to this zip. 

By using truezip and an incremental update, we only have to run compression on the changed files rather than the entire project. The rest of the changes are coppied exactly via binary copy from the last version of the file. 

For example, if you have 10 files in a zip,  F1,F2,F3... F10, to zip this file you must first get the list of files, then compress EACH file and add the binary output to the output file. Even if only one file (F3) changes, you must still compress all 10 files again when using a standard zip algorithm. 

By using truezip, we binary-copy the previous output of the zip algorithm for F1, F2, F4-F10, and then run this algorithm ONLY on the changed file, F3. The rest, being coppied by exact byte copy, does not need to be recompressed... only have the output of the last compression coppied directly. 

This saves time. 


> WTP zipped deployment
> ---------------------
>
>                 Key: JBIDE-4193
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4193
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JBossAS
>    Affects Versions: 3.0.0.GA
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 3.1.0.M1
>
>         Attachments: JBIDE-4193.jpg
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list