#! /bin/bash
. acsstartupAcsPorts 
#*******************************************************************************
# E.S.O. - ACS project
#
# "@(#) $Id: irbrowser,v 1.2 2008/08/06 02:42:32 cparedes Exp $"
#
# who       when      what
# --------  --------  ----------------------------------------------
# dfugate  2004-07-26  created
#

#************************************************************************
#   NAME
# 
#   SYNOPSIS
#     Runs JacORB's IFR explorer.
#  
#   DESCRIPTION
#
#   FILES
#
#   ENVIRONMENT
#
#   RETURN VALUES
#
#   CAUTIONS
#
#   EXAMPLES
#
#   SEE ALSO
#
#   BUGS     
#
#------------------------------------------------------------------------
#

# signal trap (if any)
export HOST=`getIP`
#Find the port number of the IR
export ACS_IR_PORT=`getIRPort`

if [ X"$ACS_INTERFACE_REPOSITORY" = X ]; then
  export IRcorbaloc="corbaloc::$HOST:$ACS_IR_PORT/InterfaceRepository"
else
  export IRcorbaloc=$ACS_INTERFACE_REPOSITORY
fi

acsStartJava -DORBInitRef.InterfaceRepository=$IRcorbaloc org.jacorb.ir.gui.IRBrowser &

#
# ___oOo___
