This commit is contained in:
François
2022-01-26 19:21:00 +01:00
parent 1ef30c2b17
commit 766904b714
576 changed files with 16833 additions and 1 deletions

2
ws/bundle.sh Executable file
View File

@ -0,0 +1,2 @@
cd `dirname "$0"`
ant -f ../ant/build.xml runBundleJar

49
ws/bundleInclusion.sh Executable file
View 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
View File

@ -0,0 +1,2 @@
cd `dirname "$0"`
ant -f ../ant/build.xml runChatJar

2
ws/login.sh Executable file
View File

@ -0,0 +1,2 @@
cd `dirname "$0"`
ant -f ../ant/build.xml runLoginJar

20
ws/start_chat.sh Executable file
View 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