1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 23:25:26 +02:00

Workaround bug 154069 - downgrade pack200 effort

This commit is contained in:
Martin Oberhuber 2006-08-18 08:39:12 +00:00
parent ab48d5ac32
commit fb9f295ed4
3 changed files with 23 additions and 3 deletions

View file

@ -0,0 +1 @@
pack200.stamp

View file

@ -11,6 +11,9 @@ mydir=`pwd`
umask 002
#Use Java5 on build.eclipse.org
export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
# patch site.xml
cd ..
SITE=`pwd`
@ -47,11 +50,12 @@ mv -f site.xml.new site.xml
# optimize the site
# see http://wiki.eclipse.org/index.php/Platform-releng-faq
#Use Java5 on build.eclipse.org
export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
#Pack the site
# Workaround for downgrading effort of pack200 to avoid VM bug
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=154069
echo "Packing the site... $SITE"
java -jar $HOME/ws/eclipse/startup.jar \
-Dorg.eclipse.update.jarprocessor.pack200=$mydir \
-application org.eclipse.update.core.siteOptimizer \
-jarProcessor -outputDir $SITE \
-processAll -pack $SITE
@ -66,4 +70,4 @@ java -jar $HOME/ws/eclipse/startup.jar \
cd $SITE
chgrp -R dsdp-tm-rse .
chmod -R g+w .
cd $curdir
cd $curdir

View file

@ -0,0 +1,15 @@
#!/bin/sh
#
# Workaround for downgrading effort of pack200 to avoid VM bug
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=154069
#
curdir=`pwd`
cd `dirname $0`
mydir=`pwd`
cd "$curdir"
touch "$mydir/pack200.stamp"
date >> "$mydir/pack200.stamp"
env >> "$mydir/pack200.stamp"
echo "pack200 -E4 $*" >> "$mydir/pack200.stamp"
pack200 -E4 $*