1 /*******************************************************************************
2  * Copyright (c) 2007, 2011 IBM Corporation and others.
3  *
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  *******************************************************************************/
14 package org.eclipse.equinox.internal.frameworkadmin.equinox;
15 
16 public class EquinoxConstants {
17 
18 	/**
19 	 * If BundleContext#getProperty(PROP_KEY_USE_REFERENCE) does not equal "false",
20 	 * Manipulator#save() will add "reference:" to any bundle location specified osgi.bundles in order to avoid
21 	 * caching its bundle jar.  Otherwise, it will add nothing to any bundle location.
22 	 */
23 	public static final String PROP_KEY_USE_REFERENCE = "org.eclipse.equinox.frameworkadmin.equinox.useReference"; //$NON-NLS-1$
24 
25 	public static final String PLUGINS_DIR = "plugins"; //$NON-NLS-1$
26 	public final static String FW_SYMBOLIC_NAME = "org.eclipse.osgi"; //$NON-NLS-1$
27 	public static final String DEFAULT_CONFIGURATION = "configuration"; //$NON-NLS-1$
28 	public static final String CONFIG_INI = "config.ini"; //$NON-NLS-1$
29 
30 	public final static String FW_VERSION = "3.3"; //$NON-NLS-1$
31 	public final static String FW_NAME = "Equinox"; //$NON-NLS-1$
32 	public final static String LAUNCHER_VERSION = "3.2"; //$NON-NLS-1$
33 	public final static String LAUNCHER_NAME = "Eclipse.exe"; //$NON-NLS-1$
34 
35 	public static final String OPTION_CONFIGURATION = "-configuration"; //$NON-NLS-1$
36 	public static final String OPTION_FW = "-framework"; //$NON-NLS-1$
37 	public static final String OPTION_VM = "-vm"; //$NON-NLS-1$
38 	public static final String OPTION_VMARGS = "-vmargs"; //$NON-NLS-1$
39 	public static final String OPTION_CLEAN = "-clean"; //$NON-NLS-1$
40 	public static final String OPTION_STARTUP = "-startup"; //$NON-NLS-1$
41 	public static final String OPTION_INSTALL = "-install"; //$NON-NLS-1$
42 	public static final String OPTION_LAUNCHER_LIBRARY = "--launcher.library"; //$NON-NLS-1$
43 
44 	// System properties
45 	public static final String PROP_BUNDLES = "osgi.bundles"; //$NON-NLS-1$
46 	public static final String PROP_BUNDLES_STARTLEVEL = "osgi.bundles.defaultStartLevel"; //$NON-NLS-1$ //The start level used to install the bundles
47 	public static final String PROP_INITIAL_STARTLEVEL = "osgi.startLevel"; //$NON-NLS-1$ //The start level when the fwl start
48 	public static final String PROP_INSTALL = "osgi.install"; //$NON-NLS-1$
49 	public static final String PROP_ECLIPSE_COMMANDS = "eclipse.commands"; //$NON-NLS-1$
50 	public static final String PROP_FW_EXTENSIONS = "osgi.framework.extensions"; //$NON-NLS-1$
51 	public static final String PROP_OSGI_FW = "osgi.framework"; //$NON-NLS-1$
52 	public static final String PROP_OSGI_SYSPATH = "osgi.syspath"; //$NON-NLS-1$
53 	public static final String PROP_LAUNCHER_NAME = "osgi.launcherIni"; //$NON-NLS-1$
54 	public static final String PROP_SHARED_CONFIGURATION_AREA = "osgi.sharedConfiguration.area"; //$NON-NLS-1$
55 
56 	public static final String INI_EXTENSION = ".ini"; //$NON-NLS-1$
57 	public static final String EXE_EXTENSION = ".exe"; //$NON-NLS-1$
58 
59 	public static final String PROP_EQUINOX_DEPENDENT_PREFIX = "osgi."; //$NON-NLS-1$
60 	static final String REFERENCE = "reference:"; //$NON-NLS-1$
61 	public static final String PERSISTENT_DIR_NAME = "org.eclipse.osgi"; //$NON-NLS-1$
62 
63 }
64