Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse] Add the "is standalone SRE" flag in the SREInstall.
see #233 Signed-off-by: Stéphane Galland <galland@arakhne.org>
- Loading branch information
1 parent
b93867a
commit dc87222
Showing
8 changed files
with
236 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 106 additions & 0 deletions
106
plugins/io.sarl.eclipse/src/io/sarl/eclipse/runtime/SREConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
/* | ||
* $Id$ | ||
* | ||
* SARL is an general-purpose agent programming language. | ||
* More details on http://www.sarl.io | ||
* | ||
* Copyright (C) 2014 Sebastian RODRIGUEZ, Nicolas GAUD, Stéphane GALLAND. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.sarl.eclipse.runtime; | ||
|
||
|
||
/** | ||
* Constants that are representing elements in the SRE's manifest file. | ||
* | ||
* @author $Author: sgalland$ | ||
* @version $FullVersion$ | ||
* @mavengroupid $GroupId$ | ||
* @mavenartifactid $ArtifactId$ | ||
*/ | ||
public final class SREConstants { | ||
|
||
/** Field name in the manifest that provides the main class. | ||
*/ | ||
public static final String MANIFEST_MAIN_CLASS = "Main-Class"; //$NON-NLS-1$ | ||
|
||
/** Field name for the class path in the manifest file. | ||
*/ | ||
public static final String MANIFEST_CLASS_PATH = "Class-Path"; //$NON-NLS-1$ | ||
|
||
/** Section of the manifest file that is detected to SRE. | ||
*/ | ||
public static final String MANIFEST_SECTION_SRE = "SARL-Runtime-Environment"; //$NON-NLS-1$ | ||
|
||
/** Field name for the SARL specification version in the SRE section of the manifest file. | ||
*/ | ||
public static final String MANIFEST_SARL_SPEC_VERSION = "SARL-Spec-Version"; //$NON-NLS-1$ | ||
|
||
/** Field name for the SRE name in the SRE section of the manifest file. | ||
*/ | ||
public static final String MANIFEST_SRE_NAME = "SRE-Name"; //$NON-NLS-1$ | ||
|
||
/** Field name for the VM arguments in the SRE section of the manifest file. | ||
*/ | ||
public static final String MANIFEST_VM_ARGUMENTS = "VM-Arguments"; //$NON-NLS-1$ | ||
|
||
/** Field name for the program arguments in the SRE section of the manifest file. | ||
*/ | ||
public static final String MANIFEST_PROGRAM_ARGUMENTS = "Program-Arguments"; //$NON-NLS-1$ | ||
|
||
/** Field name for the boolean flag in the manifest file that indicates if it is a standalone SRE. | ||
*/ | ||
public static final String MANIFEST_STANDALONE_SRE = "Standalone-SRE"; //$NON-NLS-1$ | ||
|
||
/** Attribute name of the SRE's library path (the jar file). | ||
*/ | ||
public static final String XML_LIBRARY_PATH = "libraryPath"; //$NON-NLS-1$ | ||
|
||
/** Attribute name of the SRE's name. | ||
*/ | ||
public static final String XML_SRE_NAME = "name"; //$NON-NLS-1$ | ||
|
||
/** Attribute name of the SRE's main class. | ||
*/ | ||
public static final String XML_MAIN_CLASS = "mainClass"; //$NON-NLS-1$ | ||
|
||
/** Node name of a library used by the SRE. | ||
*/ | ||
public static final String XML_LIBRARY_LOCATION = "libraryLocation"; //$NON-NLS-1$ | ||
|
||
/** Attribute name of system path of the SRE's library. | ||
*/ | ||
public static final String XML_SYSTEM_LIBRARY_PATH = "systemLibraryPath"; //$NON-NLS-1$ | ||
|
||
/** Attribute name of package root path of the SRE's library. | ||
*/ | ||
public static final String XML_PACKAGE_ROOT_PATH = "packageRootPath"; //$NON-NLS-1$ | ||
|
||
/** Attribute name of source path of the SRE's library. | ||
*/ | ||
public static final String XML_SOURCE_PATH = "sourcePath"; //$NON-NLS-1$ | ||
|
||
/** Attribute name of javadoc path of the SRE's library. | ||
*/ | ||
public static final String XML_JAVADOC_PATH = "javadoc"; //$NON-NLS-1$ | ||
|
||
/** Attribute name indicating if the SRE is standalone. | ||
*/ | ||
public static final String XML_STANDALONE_SRE = "standalone"; //$NON-NLS-1$ | ||
|
||
private SREConstants() { | ||
// | ||
} | ||
|
||
} |
Oops, something went wrong.