Now adds bbb-common-message-0.64.jar to the setup for the bbb-web development environment

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@4092 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Fred Dixon 2010-04-02 17:37:06 +00:00
parent 5a3041c2ef
commit 87a799b8bb

View File

@ -29,7 +29,7 @@
# 2010-01-18 FFD Added resetting of environment back to using packages # 2010-01-18 FFD Added resetting of environment back to using packages
# 2010-03-02 JRT Added trunk checkout options / fixed bbb-apps instructions # 2010-03-02 JRT Added trunk checkout options / fixed bbb-apps instructions
# set -x set -x
# #
# This ensures that we checkout the 0.63 release of BigBlueButton # This ensures that we checkout the 0.63 release of BigBlueButton
@ -45,6 +45,7 @@ SVNPROTO="http"
SVNUSERNAME="" SVNUSERNAME=""
GENTOO=$(uname -r | grep gentoo | cut -d- -f2); GENTOO=$(uname -r | grep gentoo | cut -d- -f2);
TOMCAT="" TOMCAT=""
get_platform() { get_platform() {
if [ -f /etc/lsb-release ]; then if [ -f /etc/lsb-release ]; then
@ -58,6 +59,7 @@ get_platform() {
fi fi
} }
PLATFORM=$(get_platform) PLATFORM=$(get_platform)
is_redhat() { is_redhat() {
@ -103,6 +105,7 @@ else
fi fi
fi fi
print_header() { print_header() {
if [ ! $HEADER ]; then if [ ! $HEADER ]; then
echo echo
@ -129,33 +132,35 @@ need_root() {
} }
usage() { usage() {
echo "$0 [options]" echo "BigBlueButton Server Utility - Version 0.64"
echo echo
echo "Options:" echo "$0 [options]"
echo " --help This message" echo
echo " --version Display BigBlueButton version" echo "Configuration:"
echo " --setip <host> Set IP/Hostname for BigBlueButton's configuration" echo " --version Display BigBlueButton version (packages)"
echo echo " --setip <host> Set IP/hostname for BigBlueButton"
echo "Development:" echo " --conference [konference|meetme] Switch conference module in Asterisk"
echo " --check Check current settings" echo
echo " --conference [konference|meetme] Switch conference module in Asterisk" echo "Monitoring:"
echo " --debug Check the log files for errors" echo " --check Check for configuration problems"
if [ "$(is_vm)" ]; then echo " --debug Scan the log files for error messages"
echo " --setup-samba Setup samba share for development (VM only)" echo " --watch San the log files for error messages every 2 seconds"
echo " --setup-dev [bbb-web|bbb-client|bbb-apps] " echo
echo " --reset-dev Reset environment back to using packages" echo "Administration":
echo " --trunk Checkout trunk instead of last release" echo " --restart Restart BigBueButton"
echo " --svn-username [user] Your Google code username if you want to " echo " --clean Clear all the log files and restart BigBlueButton"
echo " commit from the checked out code" echo " --zip Zip up log files for reporting an error"
fi echo
echo " --restart Restart BigBueButton" if [ "$(is_vm)" ]; then
echo " --clean Clear all the log files and restart BigBlueButton" echo "Development:"
echo " --watch Watch log files for error messages every 2 seconds" echo " --setup-samba Setup samba share for development (VM only)"
echo " --zip Zip up log files for reporting an error" echo " --setup-dev [bbb-web|bbb-client|bbb-apps] "
echo echo " --reset-dev Reset environment back to using packages"
echo "version: 0.63-10" echo " --trunk Checkout trunk instead of last release"
echo echo " --svn-username [user] Your Google code username if you want to "
echo " commit from the checked out code"
fi
echo
} }
# utility function to make a copy of the conf file # utility function to make a copy of the conf file
@ -446,7 +451,12 @@ if [ $SETUPDEV ]; then
echo "# Enabling $USER to write to /var/log/bigbluebutton to write log files" echo "# Enabling $USER to write to /var/log/bigbluebutton to write log files"
sudo chmod -R ugo+rwx /var/log/bigbluebutton sudo chmod -R ugo+rwx /var/log/bigbluebutton
echo "# Copying bbb-common-message-0.64.jar into ~/dev/bbb-web/lib"
if [ -f $RED5_DIRECTORY/webapps/bigbluebutton/WEB-INF/lib/bbb-common-message-0.64.jar ]; then
cp /usr/share/red5/webapps/bigbluebutton/WEB-INF/lib/bbb-common-message-0.64.jar ~/dev/bbb-web/lib
fi
echo " echo "
# Done. To run your local build of bbb-web: # Done. To run your local build of bbb-web: