Init
This commit is contained in:
		
							
								
								
									
										2
									
								
								ws/bundle.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								ws/bundle.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| cd `dirname "$0"` | ||||
| ant -f ../ant/build.xml runBundleJar | ||||
							
								
								
									
										49
									
								
								ws/bundleInclusion.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										49
									
								
								ws/bundleInclusion.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,49 @@ | ||||
| usage () { | ||||
|     echo `basename "$0"` " [-h] [-help] bundleRefDir bundleDir" | ||||
|     echo "    -h" | ||||
|     echo "    -help Display this help." | ||||
| } | ||||
|  | ||||
| case "$1" in | ||||
|     '-' ) | ||||
|         shift;; | ||||
|     '-v' ) | ||||
|         SVN_OPT="" | ||||
|         shift;; | ||||
|     '-h' | '-help' ) | ||||
|         usage | ||||
|         shift | ||||
|         exit;; | ||||
| esac | ||||
|  | ||||
| curDir=`pwd` | ||||
| cd $1 | ||||
| refDir=`pwd` | ||||
| # cd ${curDir} | ||||
| # cd $2 | ||||
| # bundleDir=`pwd` | ||||
|  | ||||
| # cd "${refDir}" | ||||
| for refFile in *.properties | ||||
| do | ||||
|     if test -f "${refFile}" -a ! -L "${refFile}" | ||||
|     then | ||||
| 	cd "${refDir}" | ||||
| 	grep -v '^#' ${refFile} | cut -d = -f 1 | sort -u | { | ||||
| 	    while read key | ||||
| 	    do | ||||
| 		#cd "${bundleDir}" | ||||
| 		for bundleFile in $2 | ||||
| 		do | ||||
| 		    if test -f "${bundleFile}" -a ! -L "${bundleFile}" | ||||
| 		    then | ||||
| 			if grep -q "^${key}=" "${bundleFile}" | ||||
| 			then | ||||
| 			    echo "${bundleFile}: ${key} already in ${refFile}" | ||||
| 			fi | ||||
| 		    fi | ||||
| 		done | ||||
| 	    done | ||||
| 	} | ||||
|     fi | ||||
| done | ||||
							
								
								
									
										2
									
								
								ws/chat.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								ws/chat.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| cd `dirname "$0"` | ||||
| ant -f ../ant/build.xml runChatJar | ||||
							
								
								
									
										2
									
								
								ws/login.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								ws/login.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| cd `dirname "$0"` | ||||
| ant -f ../ant/build.xml runLoginJar | ||||
							
								
								
									
										20
									
								
								ws/start_chat.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										20
									
								
								ws/start_chat.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| #!/bin/bash  | ||||
|  | ||||
| # Title   : start_dodwand.sh | ||||
| # Role    : script for launching the DoDWAN daemon | ||||
|  | ||||
| # Syntax  : ./start_dodwand.sh [-Dkey=value ...] | ||||
|  | ||||
| DODWAN_VERSION=1.0.1 | ||||
|  | ||||
| DODWAN_ROOT=${HOME}/DoDWAN | ||||
|  | ||||
|  | ||||
| if [ "${HOSTNAME}" == "" ] ; then | ||||
|  echo "Variable HOSTNAME not defined." | ||||
|  exit 1 | ||||
| fi | ||||
|  | ||||
| java  -Ddodwan.root=${DODWAN_ROOT} \ | ||||
|       -Ddodwan.host=${HOSTNAME} \ | ||||
|       $* -cp ./dodwan-${DODWAN_VERSION}.jar:Chat.jar -Ddodwan.announce_period=1 network.chat.LaunchChat | ||||
		Reference in New Issue
	
	Block a user