Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[m2e] Add the validation the version of the SARL bundle and the Maven…
… dependency. see #256 Signed-off-by: Stéphane Galland <galland@arakhne.org>
- Loading branch information
1 parent
3828c4c
commit 23f9fa3
Showing
4 changed files
with
166 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* $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.m2e; | ||
|
||
import org.eclipse.osgi.util.NLS; | ||
|
||
/** Localized Messages. | ||
* | ||
* @author $Author: sgalland$ | ||
* @version $FullVersion$ | ||
* @mavengroupid $GroupId$ | ||
* @mavenartifactid $ArtifactId$ | ||
*/ | ||
@SuppressWarnings("all") | ||
public class Messages extends NLS { | ||
private static final String BUNDLE_NAME = "io.sarl.m2e.messages"; //$NON-NLS-1$ | ||
static { | ||
// initialize resource bundle | ||
NLS.initializeMessages(BUNDLE_NAME, Messages.class); | ||
} | ||
|
||
private Messages() { | ||
} | ||
|
||
public static String SARLMavenEclipsePlugin_0; | ||
public static String SARLProjectConfigurator_0; | ||
public static String SARLProjectConfigurator_1; | ||
public static String SARLProjectConfigurator_2; | ||
public static String SARLProjectConfigurator_3; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SARLMavenEclipsePlugin_0=Internal Error: {0} | ||
SARLProjectConfigurator_0=Unable to find the bundle ''{0}'' | ||
SARLProjectConfigurator_1=Unable to extract the version of the bundle ''{0}'' | ||
SARLProjectConfigurator_2=The maven artifact {0}:{1} has a too old version.\nCurrent version: {2}\nMinimal expected version: {3} | ||
SARLProjectConfigurator_3=The maven artifact {0}:{1} has a too recent version.\nCurrent version: {2}\nMaximal expected version: {3} |