summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-12-01 00:38:28 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-12-01 00:38:28 +0000
commit5ed8423e696661ca3d68bd8cae03108e408d26c9 (patch)
tree33a9e928e90a63447f0f770a5f84c42a4f85cbfa /java
parentd444d18618b4b72fd32a656dccf62d5bfc456538 (diff)
downloadqpid-python-5ed8423e696661ca3d68bd8cae03108e408d26c9.tar.gz
Modified the script to use absoulte paths when creating the classpath as relative paths could create issues when running the script in automated build environments.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885633 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/testkit/bin/setenv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/testkit/bin/setenv.sh b/java/testkit/bin/setenv.sh
index 3ddb6b606f..0449ecffc7 100644
--- a/java/testkit/bin/setenv.sh
+++ b/java/testkit/bin/setenv.sh
@@ -42,7 +42,8 @@ if [ "$CLUSTER_LIB" = "" ] ; then
fi
if [ "$QP_CP" = "" ] ; then
- QP_CP=`find ../../build/lib/ -name '*.jar' | tr '\n' ':'`
+ QP_JAR_PATH=`abs_path "../../build/lib/"`
+ QP_CP=`find $QP_JAR_PATH -name '*.jar' | tr '\n' ':'`
fi
if [ "$OUTDIR" = "" ] ; then