Commit 69d20a2c authored by Guillaume Surrel's avatar Guillaume Surrel

Fix script: it was referencing a removed file.

parent 015ebe85
@echo off
REM Verify if JORAM_HOME is well defined
if not exist "%JORAM_HOME%\samples\bin\admin.bat" goto nokHome
if not exist "%JORAM_HOME%\samples\bin\clean.bat" goto nokHome
set RUN_DIR=%JORAM_HOME%\samples\run
......
......@@ -14,7 +14,7 @@ if $cygwin; then
fi
# Verify if JORAM_HOME is well defined
if [ ! -r "$JORAM_HOME"/samples/bin/admin.sh ]; then
if [ ! -r "$JORAM_HOME"/samples/bin/clean.sh ]; then
echo "The JORAM_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
......
@echo off
REM Verify if JORAM_HOME is well defined
if not exist "%JORAM_HOME%\samples\bin\admin.bat" goto nokHome
if not exist "%JORAM_HOME%\samples\bin\clean.bat" goto nokHome
REM Verify if JAVA_HOME is well defined
if not exist "%JAVA_HOME%\bin\java.exe" goto nokJava
REM Test the argument number
......
......@@ -14,7 +14,7 @@ if $cygwin; then
fi
# Verify if JORAM_HOME is well defined
if [ ! -r "$JORAM_HOME"/samples/bin/admin.sh ]; then
if [ ! -r "$JORAM_HOME"/samples/bin/clean.sh ]; then
echo "The JORAM_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
......@@ -50,7 +50,7 @@ CLASSPATH=$JORAM_LIBS/joram-client.jar
CLASSPATH=$CLASSPATH:$JORAM_LIBS/joram-mom.jar
CLASSPATH=$CLASSPATH:$JORAM_LIBS/joram-shared.jar
CLASSPATH=$CLASSPATH:$JORAM_LIBS/JCup.jar
CLASSPATH=$CLASSPATH:$JORAM_LIBS/jms.jar
CLASSPATH=$CLASSPATH:$JORAM_LIBS/geronimo-jms_1.1_spec-1.1.1.jar
CLASSPATH=$CLASSPATH:$JORAM_LIBS/ow_monolog.jar
CLASSPATH=$CLASSPATH:$SAMPLE_CLASSES
CLASSPATH=$CLASSPATH:$RUN_DIR
......
@echo off
REM Verify if JORAM_HOME is well defined
if not exist "%JORAM_HOME%\samples\bin\admin.bat" goto nokHome
if not exist "%JORAM_HOME%\samples\bin\clean.bat" goto nokHome
REM Verify if JAVA_HOME is well defined
if not exist "%JAVA_HOME%\bin\java.exe" goto nokJava
......
......@@ -14,7 +14,7 @@ if $cygwin; then
fi
# Verify if JORAM_HOME is well defined
if [ ! -r "$JORAM_HOME"/samples/bin/admin.sh ]; then
if [ ! -r "$JORAM_HOME"/samples/bin/clean.sh ]; then
echo "The JORAM_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
......@@ -30,7 +30,7 @@ fi
# Test the argument number
if [ -z $1 ]
then
echo "!! Missing file argument !!"
echo "!! Missing server id argument !!"
exit 1
fi
......
@echo off
REM Verify if JORAM_HOME is well defined
if not exist "%JORAM_HOME%\samples\bin\admin.bat" goto nokHome
if not exist "%JORAM_HOME%\samples\bin\clean.bat" goto nokHome
REM Verify if JAVA_HOME is well defined
if not exist "%JAVA_HOME%\bin\java.exe" goto nokJava
......
......@@ -16,7 +16,7 @@ fi
echo $JORAM_HOME
# Verify if JORAM_HOME is well defined
if [ ! -r "$JORAM_HOME"/samples/bin/admin.sh ]; then
if [ ! -r "$JORAM_HOME"/samples/bin/clean.sh ]; then
echo "The JORAM_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
......
@echo off
REM Verify if JORAM_HOME is well defined
if not exist "%JORAM_HOME%\samples\bin\admin.bat" goto nokHome
if not exist "%JORAM_HOME%\samples\bin\clean.bat" goto nokHome
REM Verify if JAVA_HOME is well defined
if not exist "%JAVA_HOME%\bin\java.exe" goto nokJava
......
......@@ -14,7 +14,7 @@ if $cygwin; then
fi
# Verify if JORAM_HOME is well defined
if [ ! -r "$JORAM_HOME"/samples/bin/admin.sh ]; then
if [ ! -r "$JORAM_HOME"/samples/bin/clean.sh ]; then
echo "The JORAM_HOME environment variable is not defined correctly"
echo "This environment variable is needed to run this program"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment