3 . ./.jprojects.sh || exit 255
5 for DIST in ${LIST}; do
6 echo "$0: Executing '${DIST}' ..."
10 cd "${JPROJECTS_HOME}/${P}" || exit 255
12 if [ ! -e "build.xml" ]
14 echo "$0: No build.xml found, skipping project '${P}'."
20 # Cleanup project and build JAR
27 if [ "${STATUS}" != "0" ]
29 # This has failed, so try "dist"
33 # Still failing? Oh, to bad
34 if [ "${STATUS}" != "0" ]
36 echo "$0: Failed to build '${DIST}'."
42 if [ ! -f "./dist.sh" ]
44 echo "$0: Project '${DIST}' has no dist.sh"
45 elif [ ! -e "./dist.sh" ]
47 echo "$0: Error: Project '${DIST}' has non-executable dist.sh!"