geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r224656 - /geronimo/trunk/sandbox/console.sh
Date Sun, 24 Jul 2005 20:47:31 GMT
Author: ammulder
Date: Sun Jul 24 13:47:28 2005
New Revision: 224656

URL: http://svn.apache.org/viewcvs?rev=224656&view=rev
Log:
Bail for build errors early in the group

Modified:
    geronimo/trunk/sandbox/console.sh

Modified: geronimo/trunk/sandbox/console.sh
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console.sh?rev=224656&r1=224655&r2=224656&view=diff
==============================================================================
--- geronimo/trunk/sandbox/console.sh (original)
+++ geronimo/trunk/sandbox/console.sh Sun Jul 24 13:47:28 2005
@@ -1,23 +1,20 @@
 #! /bin/bash
-cd console-core
-rm -rf target && maven -o
-cd ../console-standard
-rm -rf target && maven -o
-cd ../console-framework
-rm -rf target && maven -o
-cd ../console-ear
-maven -o clean && maven -o
-cd ..
+cd console-core && rm -rf target && maven -o &&
+cd ../console-standard && rm -rf target && maven -o &&
+cd ../console-framework && rm -rf target && maven -o &&
+cd ../console-ear && rm -rf target velocity.log && maven -o && cd
..
 cp -rf ~/.maven/repository/portlet-api ../modules/assembly/target/geronimo-1.0-SNAPSHOT/repository/
 cp -rf ~/.maven/repository/pluto ../modules/assembly/target/geronimo-1.0-SNAPSHOT/repository/
 cp -rf ~/.maven/repository/geronimo/jars/geronimo-console-core*.jar ../modules/assembly/target/geronimo-1.0-SNAPSHOT/repository/geronimo/jars/
 cp -rf ~/.maven/repository/geronimo-console ../modules/assembly/target/geronimo-1.0-SNAPSHOT/repository/
-echo
-echo "To deploy for the first time, start Geronimo and:"
-echo
-echo "java -jar ../modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/deployer.jar --user
system --password manager deploy console-ear/target/geronimo-console-1.0-SNAPSHOT.ear"
-echo
-echo "To update an existing console deployment, try:"
-echo
-echo "java -jar ../modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/deployer.jar --user
system --password manager redeploy console-ear/target/geronimo-console-1.0-SNAPSHOT.ear org/apache/geronimo/Console"
-echo
+if [ -f console-ear/target/geronimo-console-1.0-SNAPSHOT.ear ] ; then
+	echo
+	echo "To deploy for the first time, start Geronimo and:"
+	echo
+	echo "java -jar ../modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/deployer.jar --user
system --password manager deploy console-ear/target/geronimo-console-1.0-SNAPSHOT.ear"
+	echo
+	echo "To update an existing console deployment, try:"
+	echo
+	echo "java -jar ../modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/deployer.jar --user
system --password manager redeploy console-ear/target/geronimo-console-1.0-SNAPSHOT.ear org/apache/geronimo/Console"
+	echo
+fi



Mime
View raw message