[rabbitmq-discuss] runjava.sh

Tony Garnock-Jones tonyg at lshift.net
Wed Jul 16 11:29:39 BST 2008


Hi Aman; the way I usually work is

  $ ant dist
  $ (cd build/dist; bash runjava.sh com.rabbitmq.tools.Tracer)

Regards,
   Tony


Aman Gupta wrote:
> I patched runjava.sh as such:
> 
> diff -r e3bd1f5c1b3b scripts/runjava.sh
> --- a/scripts/runjava.sh Mon Jul 14 20:02:20 2008 +0100
> +++ b/scripts/runjava.sh Mon Jul 14 19:50:30 2008 -0700
> @@ -1,6 +1,6 @@
>  #!/bin/sh
>  RABBIT_JARS=
> -for d in *.jar
> +for d in *.jar `dirname $0`/../build/lib/*.jar `dirname $0`/../lib/*.jar
>  do
>      RABBIT_JARS="$d:$RABBIT_JARS"
>  done
> 
> so that I can run:
> 
>   make dist1.5
>   ./scripts/runjava.sh com.rabbitmq.tools.Tracer
> 
>   Aman





More information about the rabbitmq-discuss mailing list