From 0b56077cbb8b6e9cdd982cbdeaa3ec6fe1bd5434 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Mon, 26 May 2008 17:58:50 +0000 Subject: I am applying the patch provided by Senaka attached to QPID-968 We need to get rid of the defaults that points to rhm. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660254 13f79535-47bb-0310-9956-ffa450edef68 --- java/client/example/src/main/java/README.txt | 17 +++++++++++++++++ java/client/example/src/main/java/runSample.sh | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 java/client/example/src/main/java/README.txt (limited to 'java/client/example') diff --git a/java/client/example/src/main/java/README.txt b/java/client/example/src/main/java/README.txt new file mode 100644 index 0000000000..c8fe6a76ad --- /dev/null +++ b/java/client/example/src/main/java/README.txt @@ -0,0 +1,17 @@ +In order to use the runSample script, you are required to set two environment +variables, QPID_HOME and QPID_SAMPLE. If not the default values will be used. + +QPID_HOME +--------- +This is the distribution directory. You would have set the QPID_HOME when you +started the Qpid Java broker. + +default: /usr/share/java/ + +QPID_SAMPLE +----------- +This is the parent directory of the directory in which you find the runSample.sh +(Ex:- $QPID_SRC_HOME/java/client/example/src/main) + +default: /usr/share/doc/rhm-0.2 + diff --git a/java/client/example/src/main/java/runSample.sh b/java/client/example/src/main/java/runSample.sh index 23bde52c44..af0dd3ba6c 100755 --- a/java/client/example/src/main/java/runSample.sh +++ b/java/client/example/src/main/java/runSample.sh @@ -39,7 +39,7 @@ javac -cp "$CLASSPATH" -sourcepath "$QPID_SAMPLE" -d . `find $QPID_SAMPLE -name CLASSPATH="$CLASSPATH$DIVIDER$." # Set VM parameters -QPID_PARAM="$QPID_PARAM -Dlog4j.configuration=file://$QPID_SAMPLE/java/log4j.xml" +QPID_PARAM="$QPID_PARAM -Dlog4j.configuration=file://$PWD/log4j.xml" # Check if the user supplied a sample classname -- cgit v1.2.1