1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00
cdt/releng/org.eclipse.rse.releng.infocenter/infocenter.sh

39 lines
1.1 KiB
Bash
Raw Normal View History

#!/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
#*******************************************************************************
umask 022
2009-01-20 14:57:05 +00:00
#PATH=/opt/j2sdk1.4.2_12/bin:$PATH
PATH=/opt/JDKs/amd64/jdk1.6.0_11/bin:$PATH
export PATH
2006-07-20 11:56:20 +00:00
if [ "$IHOME" = "" ]; then
IHOME=/home/infocenter/latest
fi
2009-01-20 14:57:05 +00:00
EHOME=${IHOME}/eclipse/eclipse
curdir=`pwd`
if [ "$1" = "" -o "$1" = "help" ]; then
echo "Usage: infocenter.sh [start|shutdown|addSite -from dir|apply]"
exit 1
fi
2009-01-20 14:57:05 +00:00
HELP_PLUGIN=`ls $EHOME/plugins/org.eclipse.help.base_3.*.jar | sort | tail -1`
java \
2009-01-20 14:57:05 +00:00
-classpath $HELP_PLUGIN \
org.eclipse.help.standalone.Infocenter \
-command $* \
-eclipsehome $EHOME \
-data $IHOME/workspace \
-port 27127 \
2009-01-20 14:57:05 +00:00
-nl en -locales en