[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tm-cvs-commit] moberhuber org.eclipse.tm.rse/releng/org.eclipse.rse.updatesite/bin mkTestUpdates.sh

Update of /cvsroot/tools/org.eclipse.tm.rse/releng/org.eclipse.rse.updatesite/bin
In directory dev2:/tmp/cvs-serv5378/bin

Modified Files:
	mkTestUpdates.sh 
Log Message:
[releng] category generation

Index: mkTestUpdates.sh
===================================================================
RCS file: /cvsroot/tools/org.eclipse.tm.rse/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -d -r1.117 -r1.118
*** mkTestUpdates.sh	4 Jan 2011 20:52:05 -0000	1.117
--- mkTestUpdates.sh	26 Jan 2011 09:52:00 -0000	1.118
***************
*** 511,514 ****
--- 511,527 ----
  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 \
***************
*** 525,541 ****
      -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 tools.tm .
--- 538,541 ----