diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-05-26 17:58:50 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-05-26 17:58:50 +0000 |
commit | 0b56077cbb8b6e9cdd982cbdeaa3ec6fe1bd5434 (patch) | |
tree | 06c094e8d3ae7e05910fd73bec6dcb3473e7ebec /java/client/example/src | |
parent | cadb090b23cd630cf5a406c0d78c6435431f29f3 (diff) | |
download | qpid-python-0b56077cbb8b6e9cdd982cbdeaa3ec6fe1bd5434.tar.gz |
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
Diffstat (limited to 'java/client/example/src')
-rw-r--r-- | java/client/example/src/main/java/README.txt | 17 | ||||
-rwxr-xr-x | java/client/example/src/main/java/runSample.sh | 2 |
2 files changed, 18 insertions, 1 deletions
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 |