Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lang] Error when too old version of SARL is on the classpath.
see #363 Signed-off-by: Stéphane Galland <galland@arakhne.org>
- Loading branch information
1 parent
763cb9f
commit c0cc43a
Showing
14 changed files
with
345 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
source.. = src/ | ||
source.. = src/,\ | ||
src-gen/ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
OSGI-INF/ | ||
|
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
71 changes: 71 additions & 0 deletions
71
plugins/io.sarl.lang.core/src-gen/io/sarl/lang/SARLVersion.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,71 @@ | ||
/* | ||
* $Id$ | ||
* | ||
* SARL is an general-purpose agent programming language. | ||
* More details on http://www.sarl.io | ||
* | ||
* Copyright (C) 2014-2015 the original authors or authors. | ||
* | ||
* 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.lang; | ||
|
||
|
||
/** | ||
* Describes the specification of the SARL language. | ||
* | ||
* @author $Author: sgalland$ | ||
* @version $FullVersion$ | ||
* @mavengroupid $GroupId$ | ||
* @mavenartifactid $ArtifactId$ | ||
* @since 0.3.0 | ||
*/ | ||
public final class SARLVersion { | ||
|
||
/** Version number of the SARL specification. | ||
* | ||
* <p>The version number is usually composed of two digits that | ||
* represent the version of the SARL specification and tools. | ||
*/ | ||
public static final String SPECIFICATION_RELEASE_VERSION = "0.3"; //$NON-NLS-1$ | ||
|
||
/** The version number of the current release of the SARL library. | ||
* | ||
* <p>Usually, the two first digits are the same as the ones of {@link #SPECIFICATION_RELEASE_VERSION}. | ||
*/ | ||
public static final String SARL_RELEASE_VERSION = "0.3.0"; //$NON-NLS-1$ | ||
|
||
/** The status of the SARL specification. | ||
* | ||
* <p>Usually, this status is also displayed in the | ||
* <a href="http://www.sarl.io/docs/suite/io/sarl/docs/SARLDocumentationSuite.html">reference documentation of SARL</a>. | ||
*/ | ||
public static final String RELEASE_STATUS = "Draft Release"; //$NON-NLS-1$ | ||
|
||
/** Flag that indicates if the current SARL libbrary is a stable release. | ||
* | ||
* <p>A stable release is collection of libraries that will be not more compiled and generated. | ||
*/ | ||
public static final boolean IS_STABLE = false; | ||
|
||
/** The version number of the Janus platform that should support the current version | ||
* of the SARL tools. | ||
*/ | ||
public static final String PRECONIZED_JANUS_VERSION = "2.0.3.0-SNAPSHOT"; //$NON-NLS-1$ | ||
|
||
private SARLVersion() { | ||
// | ||
} | ||
|
||
} |
71 changes: 71 additions & 0 deletions
71
plugins/io.sarl.lang.core/src-templates/io/sarl/lang/SARLVersion.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,71 @@ | ||
/* | ||
* $Id$ | ||
* | ||
* SARL is an general-purpose agent programming language. | ||
* More details on http://www.sarl.io | ||
* | ||
* Copyright (C) 2014-2015 the original authors or authors. | ||
* | ||
* 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.lang; | ||
|
||
|
||
/** | ||
* Describes the specification of the SARL language. | ||
* | ||
* @author $Author: sgalland$ | ||
* @version $FullVersion$ | ||
* @mavengroupid $GroupId$ | ||
* @mavenartifactid $ArtifactId$ | ||
* @since 0.3.0 | ||
*/ | ||
public final class SARLVersion { | ||
|
||
/** Version number of the SARL specification. | ||
* | ||
* <p>The version number is usually composed of two digits that | ||
* represent the version of the SARL specification and tools. | ||
*/ | ||
public static final String SPECIFICATION_RELEASE_VERSION = "@sarlspecificationreleaseversion@"; //$NON-NLS-1$ | ||
|
||
/** The version number of the current release of the SARL library. | ||
* | ||
* <p>Usually, the two first digits are the same as the ones of {@link #SPECIFICATION_RELEASE_VERSION}. | ||
*/ | ||
public static final String SARL_RELEASE_VERSION = "@sarlreleaseversion@"; //$NON-NLS-1$ | ||
|
||
/** The status of the SARL specification. | ||
* | ||
* <p>Usually, this status is also displayed in the | ||
* <a href="http://www.sarl.io/docs/suite/io/sarl/docs/SARLDocumentationSuite.html">reference documentation of SARL</a>. | ||
*/ | ||
public static final String RELEASE_STATUS = "@sarlspecificationreleasestatus@"; //$NON-NLS-1$ | ||
|
||
/** Flag that indicates if the current SARL libbrary is a stable release. | ||
* | ||
* <p>A stable release is collection of libraries that will be not more compiled and generated. | ||
*/ | ||
public static final boolean IS_STABLE = @sarlisstableversion@; | ||
|
||
/** The version number of the Janus platform that should support the current version | ||
* of the SARL tools. | ||
*/ | ||
public static final String PRECONIZED_JANUS_VERSION = "@janusversion@"; //$NON-NLS-1$ | ||
|
||
private SARLVersion() { | ||
// | ||
} | ||
|
||
} |
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
Oops, something went wrong.