You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ra...@apache.org on 2008/05/26 19:58:52 UTC

svn commit: r660254 - in /incubator/qpid/trunk/qpid/java/client/example/src/main/java: README.txt runSample.sh

Author: rajith
Date: Mon May 26 10:58:50 2008
New Revision: 660254

URL: http://svn.apache.org/viewvc?rev=660254&view=rev
Log:
I am applying the patch provided by Senaka attached to QPID-968
We need to get rid of the defaults that points to rhm.

Added:
    incubator/qpid/trunk/qpid/java/client/example/src/main/java/README.txt
Modified:
    incubator/qpid/trunk/qpid/java/client/example/src/main/java/runSample.sh

Added: incubator/qpid/trunk/qpid/java/client/example/src/main/java/README.txt
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/example/src/main/java/README.txt?rev=660254&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/example/src/main/java/README.txt (added)
+++ incubator/qpid/trunk/qpid/java/client/example/src/main/java/README.txt Mon May 26 10:58:50 2008
@@ -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
+

Modified: incubator/qpid/trunk/qpid/java/client/example/src/main/java/runSample.sh
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/example/src/main/java/runSample.sh?rev=660254&r1=660253&r2=660254&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/example/src/main/java/runSample.sh (original)
+++ incubator/qpid/trunk/qpid/java/client/example/src/main/java/runSample.sh Mon May 26 10:58:50 2008
@@ -39,7 +39,7 @@
 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