qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r601802 - /incubator/qpid/trunk/qpid/java/client/example/runSample.sh
Date Thu, 06 Dec 2007 18:21:35 GMT
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



Mime
View raw message