You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

reindex-tickets.sh 642B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. # --------------------------------------------------------------------------
  3. # This is for reindexing Tickets with Lucene.
  4. #
  5. # Since the Tickets feature is undergoing massive churn it may be necessary
  6. # to reindex tickets due to model or index changes.
  7. #
  8. # usage:
  9. #
  10. # reindex-tickets.sh <baseFolder>
  11. #
  12. # --------------------------------------------------------------------------
  13. if [ -z $1 ] ; then
  14. echo "Please specify your baseFolder!";
  15. echo "";
  16. echo "usage:";
  17. echo " reindex-tickets <baseFolder>";
  18. echo "";
  19. exit 1;
  20. fi
  21. java -cp "gitblit.jar:ext/*" com.gitblit.ReindexTickets --baseFolder "$1"