Author: jfrederic.clere(a)jboss.com
Date: 2009-10-28 17:04:25 -0400 (Wed, 28 Oct 2009)
New Revision: 2585
Modified:
trunk/build/unix/buildtest.mod_cluster.sh
Log:
Support the 2 jar names.
Modified: trunk/build/unix/buildtest.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildtest.mod_cluster.sh 2009-10-28 16:21:30 UTC (rev 2584)
+++ trunk/build/unix/buildtest.mod_cluster.sh 2009-10-28 21:04:25 UTC (rev 2585)
@@ -53,7 +53,13 @@
mod_cluster_jar=${build_version}
;;
esac
-mod_cluster_jar=../../target/mod-cluster-${mod_cluster_jar}.jar
+
+# there are 2 names (mod_cluster and mod-cluster)
+if [ -f ../../target/mod_cluster-${mod_cluster_jar}.jar]; then
+ mod_cluster_jar=../../target/mod_cluster-${mod_cluster_jar}.jar
+else
+ mod_cluster_jar=../../target/mod-cluster-${mod_cluster_jar}.jar
+fi
(cd $anttestsdir
if [ "${BUILD_SYS}" = "windows" ]; then
BASELOC=`ant base | grep echo | sed 's:\[echo\]::' | sed 's:^ *::'`
Show replies by date