cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r158902 - cocoon/trunk/tools/bin/create-repository-jars.sh
Date Thu, 24 Mar 2005 09:53:54 GMT
Author: giacomo
Date: Thu Mar 24 01:53:54 2005
New Revision: 158902

URL: http://svn.apache.org/viewcvs?view=rev&rev=158902
Log:
minor fixes and some more notes in the header

Modified:
    cocoon/trunk/tools/bin/create-repository-jars.sh

Modified: cocoon/trunk/tools/bin/create-repository-jars.sh
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/bin/create-repository-jars.sh?view=diff&r1=158901&r2=158902
==============================================================================
--- cocoon/trunk/tools/bin/create-repository-jars.sh (original)
+++ cocoon/trunk/tools/bin/create-repository-jars.sh Thu Mar 24 01:53:54 2005
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh 
 
 # Copyright 2004-2005 The Apache Software Foundation
 #
@@ -21,6 +21,14 @@
 #   - make a local.build.properties, that excludes all documentation stuff
 #   - build all jars and the war file
 #   - copy all jars and the war to the appropriate locations (repository structure)
+#
+# Usually one start the script in the Cocoon root directory by issuing:
+#
+#     ./tools/bin/create-repository-jars.sh tags/RELEASE_2_1_x
+#
+# The-h option will give you a short usage note and the settings of environment 
+# variables the script uses
+#
 
 # The path to the local repository we maintain
 if [ "$LOCAL_PATH" = "" ]; then
@@ -34,7 +42,7 @@
 
 # On which host should the artifacts be published
 if [ "$REMOTE_HOST" = "" ]; then
-  REMOTE_HOST=www.apache.org
+  REMOTE_HOST=svn.apache.org
 fi
 
 # The path to the remote repository
@@ -73,6 +81,7 @@
 NOJARS=0
 NOWAR=0
 BUILD_SRC_DIST=0
+RC=0
 while getopts ":BdhJkSW" option
 do
   case $option in
@@ -195,7 +204,7 @@
   echo
   ./build.sh $CLEAN webapp war | tee $LOCAL_PATH/build.log
   # The build script dosn't report on failures so we have to do that by hand
-  tail -10 $LOCAL_PATH/build.log|grep "BUILD SUCCESSFUL"
+  tail -n 10 $LOCAL_PATH/build.log|grep "BUILD SUCCESSFUL"
   if [ $? = 0 ]; then
     RC=0
   else



Mime
View raw message