#!/usr/bin/qsh
# // THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM
# // 5724-I63, 5724-H88, 5655-N01, 5733-W70 (C) COPYRIGHT International Business Machines Corp., 1997, 2007
# // All Rights Reserved * Licensed Materials - Property of IBM
# // US Government Users Restricted Rights - Use, duplication or disclosure
# // restricted by GSA ADP Schedule Contract with IBM Corp.
#
# //  DESCRIPTION:
# //      Script file used to delete profiles.


CUR_DIR=`pwd`
cd `dirname ${0}`/../../../../..
REPLACE_WAS_HOME=`pwd`
export REPLACE_WAS_HOME
. $REPLACE_WAS_HOME/bin/setupCmdLine
cd $CUR_DIR

${JAVA_HOME}/bin/java ${JAVA_PARM} \
	-DWAS_HOME=${WAS_INSTALL_ROOT} \
	-Dwas.install.root=${WAS_INSTALL_ROOT} \
	-Duser.install.root=${WAS_USERDATA_ROOT} \
	-classpath ${WAS_CLASSPATH} \
  	-Dws.ext.dirs=${WAS_EXT_DIRS} \
  	com.ibm.wsspi.bootstrap.WSPreLauncher -nosplash -application com.ibm.ws.bootstrap.WSLauncher \
  	com.ibm.ws.runtime.InstallActionInvoker \
  	"$@"