Casper Thule 63c08d2faf Added files that disappeared during merge 4 years ago
..
be.uantwerpen.ansymo.semanticadaptation 3ae67b150b renamed declarations 4 years ago
be.uantwerpen.ansymo.semanticadaptation.cg.cpp e6c5fd32e3 Added functionality for: 4 years ago
be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib b0d4e0d5c7 added the cpp framework 4 years ago
be.uantwerpen.ansymo.semanticadaptation.cg.cpp.tests 63c08d2faf Added files that disappeared during merge 4 years ago
be.uantwerpen.ansymo.semanticadaptation.ide 2674e393b0 updated poms for testing and added jenkins file 4 years ago
be.uantwerpen.ansymo.semanticadaptation.testframework e6c5fd32e3 Added functionality for: 4 years ago
be.uantwerpen.ansymo.semanticadaptation.tests 4b9ea3ff45 inline to fit the paper 4 years ago
be.uantwerpen.ansymo.semanticadaptation.ui 67aaf64eba removed generated resources 4 years ago
be.uantwerpen.ansymo.semanticadaptation.ui.tests 133f9dd805 fixed a number of deprecated imports which made the code fail with xtext 2.11 4 years ago
.gitignore 63c08d2faf Added files that disappeared during merge 4 years ago
README.txt b0d4e0d5c7 added the cpp framework 4 years ago
first_generation_sucessful_log.txt 8863472688 readme file with Bart's instructions 4 years ago
pom.xml b0d4e0d5c7 added the cpp framework 4 years ago

README.txt

# Checkout

```bash
git clone
git submodule update --init --recursive
```

# Development environmant:

Install instructions:
- Download Eclipse NEON (64 bits) installer.
- Run it, and select "Eclipse DSL Tools" environment.
or if you already have Eclipse NEON then just install the xText plugins
- repo http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
- plugins `Xtend IDE` and `Xtend Complete SDK`

# Compilation

## Using Eclipse
Generation and Compilation
- Import all projects in this folder.
- Right click in be.uantwerpen.ansymo.semanticadaptation/src/be/uantwerpen/ansymo/semanticadaptation/SemanticAdaptation.xtext and select "run as -> generate xtext artifacts"
- Check that the console log is similar to the one in File "first_generation_sucessful_log.txt".

## Using Maven
- In CONSOLE run "mvn package" in DSL_SemanticAdaptation
- In eclipse choose import -> Maven -> Existing Maven Projects and choose the LEAF nodes
- Might be necessary to right click on a project -> Maven -> Update project

```bash
# Perform a clean build
mvn clean package
```

### Other tasks:
Run the tests: right-click be.uantwerpen.ansymo.semanticadaptation.tests/src/be/uantwerpen/ansymo/semanticadaptation/tests/SemanticAdaptationParsingTest.xtend -> run as -> J-Unit test

Run the plugin: After building everything, right-click /be.uantwerpen.ansymo.semanticadaptation -> run as -> eclipse application