Browse Source

Updated readme to fit maven

Casper Thule 7 years ago
parent
commit
dc59377ee7
1 changed files with 9 additions and 0 deletions
  1. 9 0
      DSL_SemanticAdaptation/README.txt

+ 9 - 0
DSL_SemanticAdaptation/README.txt

@@ -5,11 +5,20 @@ or if you allready 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`
 
+BEFORE MAVEN
 Generationa 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".
+AFTER 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
 
+Building maven:
+mvn package
+Cleaning maven:
+mvn clean
 
 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