-
Notifications
You must be signed in to change notification settings - Fork 5
Developper guide
It is hightly recommanded to use the Eclipse framework to develop on the xsmp modeler.
The Eclipse IDE for Java and DSL Developers package can be downloaded from here.
File → Imports... → Projects from Git (with smart import) → Clone URI and specifie the URI of this repository. All XSMP projects should be imported in your workspace.
The XSMP modeler comes with a target platform that defines all the required plugins for development.
Select the org.eclipse.xsmp.target in the Window → Preferences → Plug-in Development → Target Platform page (the plugins resolution should take a while).
All the XSMP code should be formatted with the provided Profile. Import the formatter-java-eclipse.xml file in Window → Preferences → Java → Code Style → Formatter and select the XSMP profile.
Many files are generated by the build process. Select the file pom.xml at the root of the repository then right click → Run As → Maven install.
Check in the console that the build is a success.
Now, all the projects in the Project Explorer should be valid.
- org.eclipse.xsmp: The core plugin for Xsmp language
- org.eclipse.xsmp.lib: The runtime library for Xsmp projects
- org.eclipse.xsmp.ide: The ide plugin for eclipse
- org.eclipse.xsmp.ui: The Eclipse UI for Xsmp: editors, wizards, ...
- org.eclipse.xsmp.target: The Eclipse target Platform to use for development
- org.eclipse.xsmp.test: Tests for the core plugin
- org.eclipse.xsmp.ui.test: Tests for the ui plugin
- org.eclipse.xsmp.forms: EMF Forms property views for Xsmpcat language (In development)
- org.eclipse.xsmp.sirius: Sirius Xsmpcat language (In development)
- org.eclipse.xsmp.feature: Eclipse feature for Xsmp
- org.eclipse.xsmp.repository: Xsmp Eclipse repository
A Launch configuration is provided to run an Eclipse Application with all your local changes: Run → Run Configurations... → Eclipse Application → Launch Runtime Eclipse → Run