blob: 2f6a0f56b0c97a0120c5f901ae24f3af4a823bae [file] [log] [blame]
david_williams45dc8092010-05-07 05:59:42 +00001#!/usr/bin/env bash
nickboldt03a6f082019-02-12 15:17:11 -05002#*******************************************************************************
3# Copyright (c) 2010, 2019 IBM Corporation and others.
4# This program and the accompanying materials
5# are made available under the terms of the Eclipse Public License 2.0
6# which accompanies this distribution, and is available at
7# https://www.eclipse.org/legal/epl-2.0/
8#
9# SPDX-License-Identifier: EPL-2.0
10#
11# Contributors:
12# IBM Corporation - initial API and implementation
13#*******************************************************************************
david_williams45dc8092010-05-07 05:59:42 +000014
15# finds file on users path, before current directory
16# hence, non-production users can set their own values for test machines
17source webtools.apps.shsource
18
19
20echo JAVA_EXEC_DIR: $JAVA_EXEC_DIR;
21echo ECLIPSE_HOME_36: $ECLIPSE_HOME_36;
22
23APP_NAME=org.eclipse.equinox.p2.director
24REPO_LOCATION="file:/${HOME}/download/webtools/releng/"
25REPO_ARGS="-metadataRepository ${REPO_LOCATION} -artifactRepository ${REPO_LOCATION}"
26IU_ARGS="-installIU org.eclipse.wt.releng.feature.feature.group"
27
28echo APP_NAME: ${APP_NAME}
29echo REPO_LOCATION: ${REPO_LOCATION}
30echo REPO_ARGS: ${REPO_ARGS}
31echo IU_ARGS: ${IU_ARGS}
32
33VM_ARGS="-vmargs -Xmx512m -Declipse.p2.mirrors=false"
34echo VMARGS: ${VM_ARGS}
35
36"${ECLIPSE_HOME_36}"/eclipse -consolelog -data ./workspace-getapp -debug -nosplash -vm "${JAVA_EXEC_DIR}" -application ${APP_NAME} ${REPO_ARGS} ${IU_ARGS} ${VM_ARGS}
37
38