mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-26 10:25:32 +02:00
Update mkTestUpdates.sh
This commit is contained in:
parent
3bbdad8793
commit
0fa80ceda3
1 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Convert normal "site.xml" to "testUpdates"
|
# Convert normal "site.xml" to "testUpdates"
|
||||||
|
#
|
||||||
|
# Prerequisites:
|
||||||
|
# - Eclipse 3.2 installed in $HOME/ws/eclipse
|
||||||
|
# - Java5 in the PATH or in /shared/common/ibm-java2-ppc64-50
|
||||||
|
|
||||||
curdir=`pwd`
|
curdir=`pwd`
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
|
@ -26,13 +30,20 @@ cd $HOME/ws/eclipse
|
||||||
#Use Java5 on build.eclipse.org
|
#Use Java5 on build.eclipse.org
|
||||||
export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
|
export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH
|
||||||
#Pack the site
|
#Pack the site
|
||||||
|
echo "Packing the site..."
|
||||||
java -jar startup.jar \
|
java -jar startup.jar \
|
||||||
-application org.eclipse.update.core.siteOptimizer
|
-application org.eclipse.update.core.siteOptimizer \
|
||||||
-jarProcessor -outputDir $site
|
-jarProcessor -outputDir $site \
|
||||||
-processAll -pack $site
|
-processAll -pack $site
|
||||||
|
|
||||||
#Create the digest
|
#Create the digest
|
||||||
|
echo "Creating digest..."
|
||||||
java -jar startup.jar \
|
java -jar startup.jar \
|
||||||
-application org.eclipse.update.core.siteOptimizer \
|
-application org.eclipse.update.core.siteOptimizer \
|
||||||
-digestBuilder -digestOutputDir=$site \
|
-digestBuilder -digestOutputDir=$site \
|
||||||
-siteXML=$site/site.xml
|
-siteXML=$site/site.xml
|
||||||
|
|
||||||
|
cd $site
|
||||||
|
chown -R dsdp-tm-rse .
|
||||||
|
chmod -R g+w .
|
||||||
|
cd $curdir
|
||||||
|
|
Loading…
Add table
Reference in a new issue