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

kenneth_suter
08.57.2007 b1603250a5fc0bdaeaacd23eead54ffb4be34896
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
commitb1603250a5fc0bdaeaacd23eead54ffb4be34896
tree 780011718e66b59c034f694115bd48eba44a548c tree | zip | gz
parent 3af4e07c6abfeb03d2746d12ba6df258e8da8ce4 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
opends/src/quicksetup/org/opends/quicksetup/upgrader/BuildExtractor.java 2 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java 152 ●●●● diff | view | raw | blame | history