- Java 8+
- Eclipse IDE (Release Neon, i.e. version
4.6
) - Maven 3.3+
- Git
- git clone https://github.com/termsuite/termuite-ui.git
- From Eclipse IDE, install EMF via the Eclipse Update manager from Help → Install New Software.... Select Modeling and install EMF - Eclipse Modeling Framework SDK and the Diagram Editor for Ecore (SDK).
- Restart Eclipse
- cp termsuite-core.jar to fr.univnantes.termsuite.ui/lib/, and make sure that the termsuite-core.jar is added in the OSGi classpath of the plugin
fr.univnantes.termsuite.ui
(tab "Runtime", Section Classpath, in Eclipse editor for file /fr.univnantes.termsuite.ui/plugin.xml) - cp termsuite-resources.jar file to fr.univnantes.termsuite.resources directory
- Open fr.univnantes.termsuite.ui/model/termsuite-ui.genmodel
- Right-click on node
Termsuite-ui
> Generate Model Code - Go to root directory of the project (termsuite-ui/) and run
mvn clean verify
(Maven build)
As termsuite-ui
is built with tycho Maven plugin, version numbers in pom.xml
files need to be in sync with bundles' META-INF/MANIFEST.MF
and features' feature.xml
files. It implies that updating the version number of an Eclipse plug-in or feature requires making two file changes in sync, which is error-prone.
To avoid this problem of redundant maintenance, termsuite-ui
uses the tycho-version-plugin Maven plugin.
The process of updating a plug-in or feature version number must be the following:
- Change the version number in
MANIFEST.MF
(orfeature.xml
) file, - Run the following Maven command:
mvn org.eclipse.tycho:tycho-versions-plugin:update-pom
Note:
tycho
does not require the same version numbers for.product
configuration and their associatedpom.xml
files, neither for.target
configurations and their their associatedpom.xml
files.
Within termsuite-core/
run:
$gradle clean build updatesite
Then in Eclipse IDE, do:
- Open
fr.univnantes.termsuite.targetdefinition.target
- Select the
${project_loc}/../../../termsuite-core/build/updatesite
location - Click on
Reload
- Window > Preferences > Target Platform
- Select you target platform
- Click on
Reload
andApply