Skip to content
Snippets Groups Projects
Commit 87a13375 authored by Ronny Böttger's avatar Ronny Böttger
Browse files

changed name Example.relast to StateMachine.relast

parent 61778341
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,8 @@ run {
}
// Generated files
def ecoreFile = "./src/main/resources/Example.relast"
def relastFile = "./src/gen/jastadd/Example.relast"
def ecoreFile = "./src/main/resources/StateMachine.relast"
def relastFile = "./src/gen/jastadd/StateMachine.relast"
// First phase: Ecore -> RelAst
task ecoreToRelast(type: JavaExec) {
......@@ -58,7 +58,7 @@ task ecoreToRelast(type: JavaExec) {
//args "../libs/ecore2relast-0.1.jar", ecoreFile, relastFile
args "../libs/RoleRag-0.2.0.jar", "--inputBaseDir=src/main/resources",
"--outputBaseDir=src/gen/jastadd", "Example.relast"
"--outputBaseDir=src/gen/jastadd", "StateMachine.relast"
inputs.files file(ecoreFile)
outputs.files file(relastFile)
......
StateMachine ::= Element*;
abstract Element ::= <Label:String>;
State : Element ::=;
Transition : Element ::=;
rel StateMachine.initial -> State;
rel StateMachine.final* -> State;
rel State.outgoing* <-> Transition.from;
rel State.incoming* <-> Transition.to;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment