Im Rahmen des Seminars "Software aus Komponenten" entstand dieser Prototyp eines Model2Text-Generators.
- Eclipse 4.5.1 (Mars)
- Spring Roo 1.3.2
- roo script /path/to/project.txt
- Papyrus Datei in Eclipse laden
- Run As -> generate
- roo script /path/to/generated.txt
- Präsentation.pdf
- in Dateien:
- main.xpt
- cmd.ext
- GeneratorHelper.java
| Befehle | Argumente | | | | | --- | --- | --- | --- | --- | --- | | class | class | abstract | extends | | classJPA | class | abstract | extends | | constructor | class | | equals | class | | enum contant | name | | enum type | class | | field | type | fieldName | class | notNull | | entity jpa | class | | jpa setup | database | provider | | json | all | add | class | | project | toplevelpackage | projectname | | web mvc setup | | web mvc finder | all | | finder add | class | finderName | | finder list | class | filter |