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

[releng] add categories in the end

This commit is contained in:
Martin Oberhuber 2010-11-09 15:29:31 +00:00
parent fe302ef02f
commit 43542b7506

View file

@ -510,19 +510,6 @@ if [ x${DO_STATS} = x1 ]; then
echo "result: ${result}"
fi
if [ x${DO_CATEGORIES} = x1 ]; then
echo "Adding Categories..."
CMD="java -jar ${tgtlauncher} \
-application org.eclipse.equinox.p2.publisher.CategoryPublisher \
-metadataRepository file:${SITE} \
-categoryDefinition file:${SITE}/category.xml \
-compress"
echo $CMD
$CMD
result=$?
echo "result: ${result}"
fi
echo "Creating P2 metadata (no download stats)..."
java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
@ -537,6 +524,19 @@ java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
-noDefaultIUs \
-vmargs -Xmx256M
if [ x${DO_CATEGORIES} = x1 ]; then
echo "Adding Categories..."
CMD="java -jar ${tgtlauncher} \
-application org.eclipse.equinox.p2.publisher.CategoryPublisher \
-metadataRepository file:${SITE} \
-categoryDefinition file:${SITE}/category.xml \
-compress"
echo $CMD
$CMD
result=$?
echo "result: ${result}"
fi
cd $SITE
chgrp -R dsdp-tmadmin .
chmod -R g+w .