-
Notifications
You must be signed in to change notification settings - Fork 5
How to setup a Specmate development environment
junkerm edited this page Nov 17, 2022
·
9 revisions
The following steps are recommended to set up the development environment for Specmate
- Check out the Specmate GIT repository to your computer
- Install Java 11 (AdoptOpenJDK: Version: OpenJDK 11, JVM: HotSpot)
- Install Eclipse 2020-03 Modeling Tools: Select Eclipse Modeling Tools in the Eclipse-Installer
- Set AdoptOpenJDK as default JDK for Eclipse
- Install Bndtools in Eclipse: Help > Eclipse Marketplace..., install Bndtools 5.2.0 REL
- Install Acceleo in Eclipse: Help > Install new Software...>Add..., Location: http://download.eclipse.org/acceleo/updates/releases/3.7
- Import all projects in the bundles folder into your Eclipse workspace
- Install nodeJS: Version 11.0.0 (at least)
- Install Visual Studio Code
- Optional: Install VS Code Extensions to make your life easier:
- Angular (newest version) TypeScript Snippets
- Angular Language Service
- Bootstrap 4 & Font awesome snippets
- NgBootstrap Snippets
- TSLint
- Open the folder web in VS Code
- Run
npm run init
to update the js-Packages (Should be run in the beginning of every development session)
- Build the UI in VS Code by running
npm run build-dev
or useCtrl+Shift+B
- Refresh the specmate-ui-core bundle in Eclipse (if not done automatically)
- Start Specmate by run specmate-std-env > dev-specmate-all.bnd in Eclipse
- Open the browser on localhost:8080
- Log into the example project with username "exampleuser" and password "examplepass".