#===============================================================#
# Sample .cshrc                                                 #
# This is an example of how to set the ArcIMS environment       #
# variables in the .cshrc file                                  #
#===============================================================#

#===============================================================#
# Remove the following line if it annoys you                    #
# Its only purpose is to inform you when this file is being run #
#===============================================================#

echo Running .cshrc

#===============================================================#
# Set the AIMSHOME variable to the location of ArcIMS.  Set the # 
# JAVA_HOME to the location of the Java Runtime Environment.    #
#===============================================================#

setenv AIMSHOME <ArcIMS Installation Directory>/ArcIMS
setenv JAVA_HOME $AIMSHOME/jre

#===============================================================#
# Make sure your PATH and LD_LIBRARY_PATH contain the following #
#===============================================================#

set path = ($JAVA_HOME/bin $AIMSHOME/bin $path .)
setenv LD_LIBRARY_PATH $AIMSHOME/lib:$AIMSHOME/bin

#===============================================================#
# The following lines will allow you to start the ArcIMS        #
# Application Server, Monitor, and Tasker.                      #
#===============================================================#

alias runappserver "$AIMSHOME/Xenv/aimsappsrvr start &"
alias runmonitor "$AIMSHOME/Xenv/aimsmonitor start &"
alias runtasker "$AIMSHOME/Xenv/aimstasker start &"
