1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 12:35:22 +02:00

Workaround signed packed jars with nested jars: remove some jar.pack.gz

This commit is contained in:
Martin Oberhuber 2006-11-10 15:56:32 +00:00
parent 3ba1386233
commit cdab685f93

View file

@ -111,11 +111,11 @@ elif [ `basename $SITE` = signedUpdates ]; then
mkdir -p ${STAGING}/updates.${stamp}/plugins mkdir -p ${STAGING}/updates.${stamp}/plugins
cp ${SITE}/../testUpdates/plugins/*.jar ${STAGING}/updates.${stamp}/plugins cp ${SITE}/../testUpdates/plugins/*.jar ${STAGING}/updates.${stamp}/plugins
cd ${STAGING}/updates.${stamp}/plugins cd ${STAGING}/updates.${stamp}/plugins
#WORKAROUND: Repack nested jars #WORKAROUND: Repack nested jars - doesnt work
for x in `ls org.apache.oro_*.jar org.apache.commons.net_*.jar` ; do #for x in `ls org.apache.oro_*.jar org.apache.commons.net_*.jar` ; do
echo "pack200 -r -E4 $x" # echo "pack200 -r -E4 $x"
pack200 -r -E4 $x # pack200 -r -E4 $x
done #done
for x in `ls *.jar`; do for x in `ls *.jar`; do
echo "signing plugin: ${x}" echo "signing plugin: ${x}"
sign ${x} nomail >/dev/null sign ${x} nomail >/dev/null
@ -216,8 +216,8 @@ for x in $JARS ; do
if [ -f $x.pack.gz ]; then if [ -f $x.pack.gz ]; then
rm -f $x.pack.gz rm -f $x.pack.gz
fi fi
echo "WORKAROUND - pack200 $x" echo "WORKAROUND - remove $x.pack.gz"
pack200 -E4 $x.pack.gz $x #pack200 -E4 $x.pack.gz $x
done done
#Create the digest #Create the digest