cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r393427 - /cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh
Date Wed, 12 Apr 2006 10:14:15 GMT
Author: giacomo
Date: Wed Apr 12 03:14:11 2006
New Revision: 393427

URL: http://svn.apache.org/viewcvs?rev=393427&view=rev
Log:
adapting to changed build structure/name

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

Modified: cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh?rev=393427&r1=393426&r2=393427&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh (original)
+++ cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh Wed Apr 12 03:14:11 2006
@@ -102,6 +102,7 @@
        echo "   Settings:"
        echo "      LOCAL_PATH:       $LOCAL_PATH"
        echo "      SVN_BASE_URL:     $SVN_BASE_URL"
+       echo "      REMOTE_HOST:      $REMOTE_HOST"
        echo "      REMOTE_PATH:      $REMOTE_PATH"
        echo "      HEAD_SUB_URL:     $HEAD_SUB_URL"
        echo "      REVISION_SUB_URL: $REVISION_SUB_URL"
@@ -218,7 +219,7 @@
 fi
 
 # copy all the jars produced over to the web server space
-VERSION=`ls build | grep cocoon | sed s/cocoon-//`
+VERSION=2.1.9
 if [ "$REVISION_SUB_URL" == "$HEAD_SUB_URL" ]; then 
   TVERSION=`date "+%Y%m%d.%H%M%S"` 
 else
@@ -229,7 +230,7 @@
   # create the target directory if they do not exists and make them group writable
   ssh $REMOTE_HOST "mkdir -p $REMOTE_PATH/jars 2>/dev/null >/dev/null; \
                  chmod -R g+w $REMOTE_PATH/jars"
-  JARS=`find build/cocoon-$VERSION -name "*.jar"`
+  JARS=`find build/cocoon -name "*.jar"`
   for i in $JARS; do
     FILE=`echo $i | sed 's/.*[/]//' | sed s/[.]jar//`
     isBlock=`echo $FILE|grep block`



Mime
View raw message