User: user57
Date: 01/08/31 17:44:19
Modified: src/bin update-website.sh
Log:
o the build pulls from cvs, so I have to check in these with test data to
make sure it works
Revision Changes Path
1.2 +13 -10 newsite/src/bin/update-website.sh
Index: update-website.sh
===================================================================
RCS file: /cvsroot/jboss/newsite/src/bin/update-website.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- update-website.sh 2001/09/01 00:25:30 1.1
+++ update-website.sh 2001/09/01 00:44:19 1.2
@@ -6,7 +6,7 @@
## ##
### ====================================================================== ###
-# $Id: update-website.sh,v 1.1 2001/09/01 00:25:30 user57 Exp $
+# $Id: update-website.sh,v 1.2 2001/09/01 00:44:19 user57 Exp $
PROGNAME=`basename $0`
DIRNAME=`dirname $0`
@@ -24,8 +24,11 @@
CVS_OPTIONS="-z3 -d $CVSROOT"
# Where we will will work from
-WORKDIR="$HOME/tmp/jboss/update-website"
+WORKROOT="$HOME/tmp/jboss/update-website"
+# Where we will deploy files too
+DEPLOYROOT="/home/jason/new/java/JBoss-2.4.0_Jetty-3.1.RC8-1/jboss/deploy" # change
this to $HOME/JBoss/jboss/deploy
+
##
## Print an informative message
##
@@ -101,10 +104,10 @@
fi
# setup the workdir, change to it
- info "Setting up WORKDIR: $WORKDIR"
- rm -rf $WORKDIR
- mkdir -p $WORKDIR
- cd $WORKDIR
+ info "Setting up WORKROOT: $WORKROOT"
+ rm -rf $WORKROOT
+ mkdir -p $WORKROOT
+ cd $WORKROOT
# pull down a fresh copy of jboss-website
info "Pulling down a fresh copy of jboss-website"
@@ -123,15 +126,15 @@
checkBuild "build 'website' was not successful" $logfile
# install the website
- info "Installing website"
- ./build/build.sh website-install
+ info "Installing website; DEPLOYROOT: $DEPLOYROOT"
+ ./build/build.sh -Djboss.deploy.root=$DEPLOYROOT website-install
status=$?
checkStatus $status 0 "build 'website-install' failed" $logfile
checkBuild "build 'website-install' was not successful" $logfile
# Clean up and say goodbye
- info "Cleaning up WORKDIR"
- rm -rf $WORKDIR
+ info "Cleaning up WORKROOT"
+ rm -rf $WORKROOT
info "Done"
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development