mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
08.57.2007 7a3065af33ec447514beb9ff8fae5e5683eb61e6
refs
author kenneth_suter <kenneth_suter@localhost>
Tuesday, May 8, 2007 18:57 +0200
committer kenneth_suter <kenneth_suter@localhost>
Tuesday, May 8, 2007 18:57 +0200
commit7a3065af33ec447514beb9ff8fae5e5683eb61e6
tree cb6699be01ea4003c876e1f5b4439d39dd92a8b2 tree | zip | gz
parent 983503291bc6615924ecfb8d80791f8369cfd7be view | diff
The QuickSetup application's ZipExtractor assumes that the first zip entry from a ZipInputStream will be the root directory of all the entries in the zip which is apparently not always the case.  This commit removes this assumption and instead removes the initial path by looking for the zip entry path file separator.

There is also a change to the build extractor so that unexpected errors are written to the log file.

2 files modified
154 ■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/BuildExtractor.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java 152 ●●●● diff | view | raw | blame | history