Use Apache Commons Compress instead of java.util.zip

When the SDK installer unarchives the zip files, it is important to keep
the permissions for executable (Linux/MacOS) or the tools required to
build applications (aapt, aidl, ...) won't work.

Since java.util.zip does not provide support for permissions, we now
use the Apache Commons Compress component that allows us to read the
permission from the archive.
This commit is contained in:
Xavier Ducrohet
2009-07-23 12:59:42 -07:00
parent 3b1edb4d39
commit 797654a452
4 changed files with 53 additions and 29 deletions

View File

@@ -20,7 +20,8 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_JAVA_RESOURCE_DIRS := .
LOCAL_JAVA_LIBRARIES := \
androidprefs
androidprefs \
commons-compress-1.0
LOCAL_MODULE := sdklib