3 . ./.jprojects.sh || exit 255
5 for project in ${LIST}; do
6 IS_LIB="${project: -4}"
8 if [ "${project}" = "jprojects-scripts" ]
10 echo "$0: Skipping jprojects-scripts ..."
12 elif [ "${IS_LIB}" != "-lib" ]
14 echo "$0: Project '${project}' is no remote-interface project - skipped."
16 elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
18 echo "$0: Project '${project}' does not exist."
22 echo "$0: Executing '${project}' ..."
26 cd "${JPROJECTS_HOME}/${P}" || exit 255
28 if [ ! -e "build.xml" ]
30 echo "$0: No build.xml found, skipping project '${P}'."
34 if [ -x "${ANT_BIN}" -a "$1" != "d" ]
49 if [ "${STATUS}" != "0" ]
51 # This has failed, so try "dist"
55 # Still failing? Oh, to bad
56 if [ "${STATUS}" != "0" ]
58 echo "$0: Failed to build '${project}'."
64 if [ ! -f "./dist.sh" ]
66 echo "$0: Project '${project}' has no dist.sh"
67 elif [ ! -e "./dist.sh" ]
69 echo "$0: Error: Project '${project}' has non-executable dist.sh!"