mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 10:05:24 +02:00
[releng] fix warnings when creating update site
This commit is contained in:
parent
fdaeaa07de
commit
0a065ced55
1 changed files with 9 additions and 1 deletions
|
@ -248,6 +248,14 @@ if [ -f site-europa.xml ]; then
|
||||||
fi
|
fi
|
||||||
sed -e '/!EUROPA_ONLY!/d' site.xml > site-europa.xml
|
sed -e '/!EUROPA_ONLY!/d' site.xml > site-europa.xml
|
||||||
|
|
||||||
|
#Get rid of Europa comments completely in order to avoid SAX exception
|
||||||
|
#in comment when the feature qualifier extends to --
|
||||||
|
awk 'BEGIN {doit=1}
|
||||||
|
/-- !EUROPA_ONLY!/ {doit=0}
|
||||||
|
{ if(doit==1) print; }
|
||||||
|
/!EUROPA_ONLY! --/ {doit=1}' site.xml > site.xml.tmp
|
||||||
|
mv -f site.xml.tmp 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
|
||||||
#Pack the site
|
#Pack the site
|
||||||
|
@ -270,7 +278,7 @@ echo "Creating digest..."
|
||||||
java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.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-europa.xml
|
||||||
|
|
||||||
cd $SITE
|
cd $SITE
|
||||||
chgrp -R dsdp-tmadmin .
|
chgrp -R dsdp-tmadmin .
|
||||||
|
|
Loading…
Add table
Reference in a new issue