[gatein-issues] [JBoss JIRA] Closed: (GTNMGMT-7) Import gadget fails if zip file contains directory entries

Nick Scavelli (JIRA) jira-events at lists.jboss.org
Fri Sep 23 12:39:27 EDT 2011


     [ https://issues.jboss.org/browse/GTNMGMT-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Scavelli closed GTNMGMT-7.
-------------------------------



> Import gadget fails if zip file contains directory entries
> ----------------------------------------------------------
>
>                 Key: GTNMGMT-7
>                 URL: https://issues.jboss.org/browse/GTNMGMT-7
>             Project: GateIn Management
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.0-Alpha01
>            Reporter: Martin Weiler
>            Assignee: Nick Scavelli
>             Fix For: 1.0.0-Alpha02
>
>
> Creating a zip file with the following command creates a zip archive that can't be imported using the gadget:
> [mweiler at martin 00480690]$ zip -r new_portal.zip portal/
>   adding: portal/ (stored 0%)
>   adding: portal/test/ (stored 0%)
>   adding: portal/test/portal.xml (deflated 71%)
>   adding: portal/test/pages.xml (deflated 95%)
>   adding: portal/test/navigation.xml (deflated 81%)
> The portal/ and portal/test/ directories within the zip archive break the import.
> Using zip with -D option works (or, on Windows, using ant task with onlyfiles="true" attribute):
> [mweiler at martin 00480690]$ zip -rD new_portal.zip portal/
>   adding: portal/test/portal.xml (deflated 71%)
>   adding: portal/test/pages.xml (deflated 95%)
>   adding: portal/test/navigation.xml (deflated 81%)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list