#!/bin/bash
#
# Run the client with all axis-jars in the classpath
# 
# $Author: bablokb $
# $Revision: 1.1 $
#
# License: GPL2
# -----------------------------------------------------------------------------

addjars() {
  for d in $@; do
    jars=`find $d -name "*.jar" -maxdepth 1`
    for f in $jars; do
      cp=$cp:$f
    done
  done
  CPATH=$cp:$CPATH
}

AXIS_HOME=/usr/local/axis-1_2RC3

addjars $AXIS_HOME/lib

java -cp client:$CPATH client.I18nClient "$@"
