#!/bin/bash

#---------------------------------------------------------------------
source "$(dirname "$0")/common.inc"
#---------------------------------------------------------------------

print_help() {
    cat <<EOF
$0 ARGUMENTS

ARGUMENTS:
  --help             - prints this page
EOF
}

while [ $# -gt 0 ]
do
    ARGUMENT="$1"
    shift
    case "$ARGUMENT" in
        "--help" | "-h" | "-?" )
            print_help
            exit 0
            ;;
        * )
            error "Unknown argument '$ARGUMENT'"
            ;;
    esac
done

cd "$GERRIT_DIR_ABS"
tools/eclipse/project.py --src

finalize
Add script to rebuild the Eclipse project configuration
Add script to rebuild the Eclipse project configuration

While gerrit comes with a nice script to achieve this, it is burried
in some hierarchies of directories. We wrap it in gerrit-builder, so
we do not have to remember those directory hierarchies.

Change-Id: Id59cdc5671fdb329138123694c4efe417502dc4f
