You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ar...@apache.org on 2007/12/06 19:21:35 UTC

svn commit: r601802 - /incubator/qpid/trunk/qpid/java/client/example/runSample.sh

Author: arnaudsimon
Date: Thu Dec  6 10:21:35 2007
New Revision: 601802

URL: http://svn.apache.org/viewvc?rev=601802&view=rev
Log:
Changed output path to .

Modified:
    incubator/qpid/trunk/qpid/java/client/example/runSample.sh

Modified: incubator/qpid/trunk/qpid/java/client/example/runSample.sh
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/example/runSample.sh?rev=601802&r1=601801&r2=601802&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/example/runSample.sh (original)
+++ incubator/qpid/trunk/qpid/java/client/example/runSample.sh Thu Dec  6 10:21:35 2007
@@ -1,8 +1,8 @@
 #!/bin/bash
 
 # Work out the CLASSPATH divider
-UNAME=`uname -s`
-case $UNAME in 
+UNAME=`uname -s`
+case $UNAME in
     CYGWIN*)
 	DIVIDER=";"
     ;;
@@ -31,14 +31,12 @@
 # set the CLASSPATH
 CLASSPATH=`find "$QPID_HOME" -name '*.jar' | tr '\n' "$DIVIDER"`
 
-#create output dir
-mkdir $QPID_SAMPLE/classes
 
-# compile the samples 
-javac -cp  "$CLASSPATH" -sourcepath "$QPID_SAMPLE" -d "$QPID_SAMPLE/classes/" `find $QPID_SAMPLE -name '*.java'`
+# compile the samples
+javac -cp  "$CLASSPATH" -sourcepath "$QPID_SAMPLE" -d . `find $QPID_SAMPLE -name '*.java'`
 
 # Add output classes to CLASSPATH
-CLASSPATH="$CLASSPATH$DIVIDER$QPID_SAMPLE/classes"
+CLASSPATH="$CLASSPATH$DIVIDER$."
 
 
 # Check if the user supplied a sample classname
@@ -48,4 +46,4 @@
     exit;
 else
     java -cp $CLASSPATH $*
-fi
+fi
\ No newline at end of file