2006-07-20 10:47:33 +00:00
|
|
|
#!/bin/sh
|
2006-09-20 11:53:43 +00:00
|
|
|
#*******************************************************************************
|
|
|
|
# Copyright (c) 2006 Wind River Systems, Inc.
|
|
|
|
# All rights reserved. This program and the accompanying materials
|
|
|
|
# are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
# which accompanies this distribution, and is available at
|
|
|
|
# http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
#
|
|
|
|
# Contributors:
|
|
|
|
# Martin Oberhuber - initial API and implementation
|
|
|
|
#*******************************************************************************
|
2006-07-20 10:47:33 +00:00
|
|
|
umask 022
|
|
|
|
|
|
|
|
PATH=/opt/j2sdk1.4.2_12/bin:$PATH
|
|
|
|
export PATH
|
|
|
|
|
|
|
|
EHOME=/home/infocenter/eclipse3.2/eclipse
|
2006-07-20 11:56:20 +00:00
|
|
|
if [ "$IHOME" = "" ]; then
|
2006-07-20 11:49:42 +00:00
|
|
|
IHOME=/home/infocenter/latest
|
|
|
|
fi
|
2006-07-20 10:47:33 +00:00
|
|
|
|
|
|
|
if [ "$1" = "" -o "$1" = "help" ]; then
|
|
|
|
echo "Usage: infocenter.sh [start|shutdown|addSite -from dir|apply]"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
java \
|
|
|
|
-classpath $EHOME/plugins/org.eclipse.help.base_3.2.0.v20060601.jar \
|
|
|
|
org.eclipse.help.standalone.Infocenter \
|
|
|
|
-command $* \
|
|
|
|
-eclipsehome $EHOME \
|
|
|
|
-data $IHOME/workspace \
|
|
|
|
-port 27127 \
|
|
|
|
-nl en -locales en \
|
|
|
|
-configuration file://$IHOME/config
|
|
|
|
|