#!/bin/csh -f
#
##############################################################
#                                                     
#    Define CLASSPATH environment variable used by EGSO API
#                                                     
#     Apr-2005  rdb  Defines picks changes automatically - 
#                    was originally defined explicitly  
#  30-Jun-2005  rdb  added definition of JAR used by examples 
#   5-Jul-2005  rdb  took it out - should work if Java properly setup
#                    modified "set jarlist" command to remove 'cd' command
#
##############################################################
#                                                     
set classpath=""

#  set classpath to automatically include all in WS library
#  and all in the API directories

set jarlist=`/bin/ls -1 $EGSO_JLIB`
foreach item ($jarlist)
  set classpath=$classpath":"$EGSO_JLIB/$item
end

set jarlist=`/bin/ls -1 $EGSO_API`
foreach item ($jarlist)
  set classpath=$classpath":"$EGSO_API/$item
end

#echo $classpath
setenv CLASSPATH $classpath
