io.sarl.lang
Class SARLConfig
final class SARLConfig
extends java.lang.Object
Provides the constants for the SARL projects.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Field Summary
Modifier and type Field and description
public static val java.lang.String FOLDER_BIN
Path of the binary files.
public static val java.lang.String FOLDER_INTEGRATION_TEST_SOURCE_SARL
Path of the integration test's Java source files.
public static val java.lang.String FOLDER_MAVEN_INTEGRATION_TEST_PREFIX
Path of the integration test source files within a Maven project.
public static val java.lang.String FOLDER_MAVEN_MAIN_PREFIX
Path of the main source files within a Maven project.
public static val java.lang.String FOLDER_MAVEN_TEST_PREFIX
Path of the test source files within a Maven project.
public static val java.lang.String FOLDER_RESOURCES
Path of the resource files.
public static val java.lang.String FOLDER_SOURCE_GENERATED
Path of the generated source files.
public static val java.lang.String FOLDER_SOURCE_GENERATED_XTEXT
Path of the generated source files that should be no more used when creating new projects.
public static val java.lang.String FOLDER_SOURCE_JAVA
Path of the Java source files.
public static val java.lang.String FOLDER_SOURCE_SARL
Path of the SARL source files.
public static val java.lang.String FOLDER_TEST_BIN
Path of the binary test files.
public static val java.lang.String FOLDER_TEST_RESOURCES
Path of the test resource files.
public static val java.lang.String FOLDER_TEST_SOURCE_GENERATED
Path of the SARL source files.
public static val java.lang.String FOLDER_TEST_SOURCE_SARL
Path of the test Java source files.
public static val java.lang.String FOLDER_TMP
Path of the temporary files.
public static val java.lang.String JAVADOC_URL
URL of the Javadoc for SARL API.
public static val java.lang.String TEST_OUTPUT_CONFIGURATION
Name of the output configuration that is dedicated to tests.
Action Summary
Modifier and type Action and description
static org.eclipse.xtext.util.JavaVersion getMinimumJavaVersionForCompilation
Replies the minimal version of the JDK that must be used for running the SARL compilation tools (IDE, or sarlc), e.g.
static org.eclipse.xtext.util.JavaVersion getMinimumJavaVersionForRunning
Replies the minimal version of the JDK that must be used on the classpath of SARL projects, e.g.
Field Details
FOLDER_BIN
public static val FOLDER_BIN : java.lang.String = "target/classes"
Path of the binary files.
FOLDER_INTEGRATION_TEST_SOURCE_SARL
public static val FOLDER_INTEGRATION_TEST_SOURCE_SARL : java.lang.String = "src/it/sarl"
Path of the integration test's Java source files.
Since:
0.13
FOLDER_MAVEN_INTEGRATION_TEST_PREFIX
public static val FOLDER_MAVEN_INTEGRATION_TEST_PREFIX : java.lang.String = "src/it"
Path of the integration test source files within a Maven project.
Since:
0.13
FOLDER_MAVEN_MAIN_PREFIX
public static val FOLDER_MAVEN_MAIN_PREFIX : java.lang.String = "src/main"
Path of the main source files within a Maven project.
Since:
0.8
FOLDER_MAVEN_TEST_PREFIX
public static val FOLDER_MAVEN_TEST_PREFIX : java.lang.String = "src/test"
Path of the test source files within a Maven project.
Since:
0.8
FOLDER_RESOURCES
public static val FOLDER_RESOURCES : java.lang.String = "src/main/resources"
Path of the resource files.
FOLDER_SOURCE_GENERATED
public static val FOLDER_SOURCE_GENERATED : java.lang.String = "src/main/generated-sources/sarl"
Path of the generated source files.
FOLDER_SOURCE_GENERATED_XTEXT
public static val FOLDER_SOURCE_GENERATED_XTEXT : java.lang.String = "src-gen"
Path of the generated source files that should be no more used when creating new projects. This value is the default generation folder form Xtext.
FOLDER_SOURCE_JAVA
public static val FOLDER_SOURCE_JAVA : java.lang.String = "src/main/java"
Path of the Java source files.
FOLDER_SOURCE_SARL
public static val FOLDER_SOURCE_SARL : java.lang.String = "src/main/sarl"
Path of the SARL source files.
FOLDER_TEST_BIN
public static val FOLDER_TEST_BIN : java.lang.String = "target/test-classes"
Path of the binary test files.
FOLDER_TEST_RESOURCES
public static val FOLDER_TEST_RESOURCES : java.lang.String = "src/test/resources"
Path of the test resource files.
Since:
0.13
FOLDER_TEST_SOURCE_GENERATED
public static val FOLDER_TEST_SOURCE_GENERATED : java.lang.String = "src/test/generated-sources/sarl"
Path of the SARL source files.
FOLDER_TEST_SOURCE_SARL
public static val FOLDER_TEST_SOURCE_SARL : java.lang.String = "src/test/sarl"
Path of the test Java source files.
FOLDER_TMP
public static val FOLDER_TMP : java.lang.String = "target/sarl-build"
Path of the temporary files.
JAVADOC_URL
public static val JAVADOC_URL : java.lang.String = "http://www.sarl.io/docs/api/"
URL of the Javadoc for SARL API.
TEST_OUTPUT_CONFIGURATION
public static val TEST_OUTPUT_CONFIGURATION : java.lang.String = "DEFAULT_TEST_OUTPUT"
Name of the output configuration that is dedicated to tests.
Since:
0.8
Action Details
getMinimumJavaVersionForCompilation
def getMinimumJavaVersionForCompilation : org.eclipse.xtext.util.JavaVersion
Replies the minimal version of the JDK that must be used for running the SARL compilation tools (IDE, or sarlc), e.g. 17.
Returns:
the version.
Since:
0.14
getMinimumJavaVersionForRunning
def getMinimumJavaVersionForRunning : org.eclipse.xtext.util.JavaVersion
Replies the minimal version of the JDK that must be used on the classpath of SARL projects, e.g. 17.
Returns:
the version.
Since:
0.14