# Applications and their special libs/EJBs
LIST="${LIST}
- pizzaservice-core pizzaservice-lib pizzaservice-mailer pizzaservice-ejb pizzaservice pizzaservice-swing pizzaservice-war \
- jjobs-core jjobs-lib jjobs-mailer jjobs-ejb jjobs jjobs-war \
- jratecalc-core jratecalc-lib jratecalc-mailer jratecalc-ejb jratecalc jratecalc-war \
- addressbook-core addressbook-lib addressbook-mailer addressbook-ejb addressbook addressbook-war addressbook-uml"
+ pizzaservice-core pizzaservice-lib pizzaservice-mailer pizzaservice-ejb pizzaservice-swing \
+ jjobs-core jjobs-lib jjobs-mailer jjobs-ejb jjobs-war jjobs \
+ jratecalc-core jratecalc-lib jratecalc-mailer jratecalc-ejb jratecalc-war jratecalc \
+ addressbook-core addressbook-lib addressbook-mailer addressbook-ejb addressbook-war addressbook addressbook-uml"
# BROKEN:
-LIST="${LIST} addressbook-swing"
+LIST="${LIST} addressbook-swing pizzaservice-war pizzaservice"
# Own home directory
declare -r JPROJECTS_HOME="${PWD}"
. ./.jprojects.sh || exit 255
for project in ${LIST}; do
- cd "${project}" || exit 255
- CHECK_CHANGES=`git commit --dry-run | grep "Changes to be committed:"`
+ cd "${JPROJECTS_HOME}/${project}" || exit 255
+ CHECK_CHANGES=`git commit -a --dry-run | grep "Changes to be committed:"`
if [ -n "${CHECK_CHANGES}" ]
then
else
echo "$0: Nothing to commit for project '${project}'."
fi
- cd -
done
echo "$0: All done."