-
Notifications
You must be signed in to change notification settings - Fork 31
Generate DSL keywords
Hugo Hills edited this page Aug 19, 2021
·
2 revisions
Need to add module com.regnosys.rosetta.web
and update file GenerateRosetta.mwe2
, which has been done on this rosetta-dsl
branch:
https://github.com/REGnosys/rosetta-dsl/tree/gen-web-keywords
If that branch gets deleted, then the code can be copied from the old rosetta-workbench
project:
- Add web project in the
GenerateRosetta.mwe2
file: https://github.com/REGnosys/rosetta-workbench/blob/331d479b0a755895d213508c78e10bb72faae5e4/dsl/com.regnosys.rosetta/src/com/regnosys/rosetta/GenerateRosetta.mwe2 - Add the contents of
com.regnosys.rosetta.web
https://github.com/REGnosys/rosetta-workbench/tree/331d479b0a755895d213508c78e10bb72faae5e4/dsl/com.regnosys.rosetta.web
Run GenerateRosetta.mwe2
in Eclipse. I think running mvn clean install should also work, but haven't tested this. DSL keywords are generated into a file rosetta-dsl/com.regnosys.rosetta.web/WebRoot/xtext-resources/generated/mode-rosetta.js
.
Copy the list of keywords, and format, then copy into rosetta-monaco-language.ts
in Rosetta UI module.