3 . ./.jprojects.sh || exit 255
5 for project in ${LIST}; do
6 if [ "${project}" = "jprojects-scripts" ]
8 echo "$0: Skipping jprojects-scripts ..."
10 elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
12 echo "$0: Project '${project}' does not exist."
16 echo "$0: Executing '${project}' ..."
20 cd "${JPROJECTS_HOME}/${P}" || exit 255
22 if [ ! -e "build.xml" ]
24 echo "$0: No build.xml found, skipping project '${P}'."
28 if [ -x "${ANT_BIN}" -a "$1" != "d" ]
43 if [ "${STATUS}" != "0" ]
45 # This has failed, so try "dist"
49 # Still failing? Oh, to bad
50 if [ "${STATUS}" != "0" ]
52 echo "$0: Failed to build '${project}'."
58 if [ ! -f "./dist.sh" ]
60 echo "$0: Project '${project}' has no dist.sh"
61 elif [ ! -e "./dist.sh" ]
63 echo "$0: Error: Project '${project}' has non-executable dist.sh!"