1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-20 22:55:51 +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 umask 002
#Use Java5 on build.eclipse.org
export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
# patch site.xml # patch site.xml
cd .. cd ..
SITE=`pwd` SITE=`pwd`
@ -47,11 +50,12 @@ mv -f site.xml.new site.xml
# optimize the site # optimize the site
# see http://wiki.eclipse.org/index.php/Platform-releng-faq # 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 #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" echo "Packing the site... $SITE"
java -jar $HOME/ws/eclipse/startup.jar \ java -jar $HOME/ws/eclipse/startup.jar \
-Dorg.eclipse.update.jarprocessor.pack200=$mydir \
-application org.eclipse.update.core.siteOptimizer \ -application org.eclipse.update.core.siteOptimizer \
-jarProcessor -outputDir $SITE \ -jarProcessor -outputDir $SITE \
-processAll -pack $SITE -processAll -pack $SITE

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 $*