README.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Checkout
  2. ```bash
  3. git clone <repo-url>
  4. git submodule update --init --recursive
  5. ```
  6. # Development environment:
  7. Install instructions:
  8. - Download Eclipse NEON (64 bits) installer.
  9. - Run it, and select "Eclipse DSL Tools" environment.
  10. or if you already have Eclipse DSL Tools, then just install the xText plugins as follows:
  11. http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
  12. select plugins `Xtend IDE` and `Xtend Complete SDK`, and install
  13. # Compilation
  14. ## Using Eclipse
  15. Generation and Compilation
  16. - Import all projects in this folder.
  17. - Right click in be.uantwerpen.ansymo.semanticadaptation/src/be/uantwerpen/ansymo/semanticadaptation/SemanticAdaptation.xtext and select "run as -> generate xtext artifacts"
  18. - Check that the console log is similar to the one in File "first_generation_sucessful_log.txt".
  19. ## Using Maven
  20. - In CONSOLE run "mvn package" in DSL_SemanticAdaptation
  21. - In eclipse choose import -> Maven -> Existing Maven Projects and choose the LEAF nodes
  22. - Might be necessary to right click on a project -> Maven -> Update project
  23. ```bash
  24. # Perform a clean build, and run tests
  25. mvn clean install
  26. ```
  27. ### Other tasks:
  28. Run the plugin:
  29. After building everything, right-click /be.uantwerpen.ansymo.semanticadaptation -> run as -> eclipse application