mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 06:55:23 +02:00
[releng] category generation
This commit is contained in:
parent
a3aeb44e01
commit
36a0bfae94
1 changed files with 13 additions and 13 deletions
|
@ -510,6 +510,19 @@ if [ x${DO_STATS} = x1 ]; then
|
||||||
echo "result: ${result}"
|
echo "result: ${result}"
|
||||||
fi
|
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)..."
|
echo "Creating P2 metadata (no download stats)..."
|
||||||
java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
||||||
-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
||||||
|
@ -524,19 +537,6 @@ java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
||||||
-noDefaultIUs \
|
-noDefaultIUs \
|
||||||
-vmargs -Xmx256M
|
-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
|
cd $SITE
|
||||||
chgrp -R tools.tm .
|
chgrp -R tools.tm .
|
||||||
chmod -R g+w .
|
chmod -R g+w .
|
||||||
|
|
Loading…
Add table
Reference in a new issue