Add Apache Commons Compress to ADT (required by sdklib)

This commit is contained in:
Xavier Ducrohet
2009-07-24 17:17:38 -07:00
parent 686fddb069
commit 510248e2e1
5 changed files with 12 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ com.android.ide.eclipse.adt/ninepatch.jar
com.android.ide.eclipse.adt/sdklib.jar
com.android.ide.eclipse.adt/sdkstats.jar
com.android.ide.eclipse.adt/sdkuilib.jar
com.android.ide.eclipse.adt/commons-compress-1.0.jar
com.android.ide.eclipse.ddms/icons/add.png
com.android.ide.eclipse.ddms/icons/backward.png
com.android.ide.eclipse.ddms/icons/clear.png

View File

@@ -12,5 +12,6 @@
<classpathentry kind="lib" path="ninepatch.jar"/>
<classpathentry kind="lib" path="sdklib.jar" sourcepath="/SdkLib"/>
<classpathentry kind="lib" path="sdkuilib.jar" sourcepath="/SdkUiLib"/>
<classpathentry kind="lib" path="commons-compress-1.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@@ -12,7 +12,8 @@ Bundle-ClassPath: .,
ninepatch.jar,
layoutlib_utils.jar,
sdklib.jar,
sdkuilib.jar
sdkuilib.jar,
commons-compress-1.0.jar
Bundle-Activator: com.android.ide.eclipse.adt.AdtPlugin
Bundle-Vendor: The Android Open Source Project
Require-Bundle: com.android.ide.eclipse.ddms,

View File

@@ -12,6 +12,7 @@ bin.includes = plugin.xml,\
layoutlib_utils.jar,\
ninepatch.jar,\
sdklib.jar,\
sdkuilib.jar
sdkuilib.jar,\
commons-compress-1.0.jar
source.. = src/
output.. = bin/

View File

@@ -27,12 +27,14 @@ if [ "$HOST" == "Linux" ]; then
ln -svf $BACK/out/host/linux-x86/framework/$LIB.jar "$DEST/"
done
ln -svf $BACK/out/host/linux-x86/framework/kxml2-2.3.0.jar "$DEST/"
ln -svf $BACK/out/host/linux-x86/framework/commons-compress-1.0.jar "$DEST/"
elif [ "$HOST" == "Darwin" ]; then
for LIB in $LIBS; do
ln -svf $BACK/out/host/darwin-x86/framework/$LIB.jar "$DEST/"
done
ln -svf $BACK/out/host/darwin-x86/framework/kxml2-2.3.0.jar "$DEST/"
ln -svf $BACK/out/host/darwin-x86/framework/commons-compress-1.0.jar "$DEST/"
elif [ "${HOST:0:6}" == "CYGWIN" ]; then
for LIB in $LIBS; do
@@ -43,6 +45,10 @@ elif [ "${HOST:0:6}" == "CYGWIN" ]; then
cp -v "prebuilt/common/kxml2/kxml2-2.3.0.jar" "$DEST/"
fi
if [ ! -f "$DEST/commons-compress-1.0.jar" ]; then
cp -v "prebuilt/common/commons-compress/commons-compress-1.0.jar" "$DEST/"
fi
chmod -v a+rx "$DEST"/*.jar
else
echo "Unsupported platform ($HOST). Nothing done."