Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Bank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ronny Böttger
Bank
Commits
87a13375
Commit
87a13375
authored
3 years ago
by
Ronny Böttger
Browse files
Options
Downloads
Patches
Plain Diff
changed name Example.relast to StateMachine.relast
parent
61778341
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
statemachine.solution/build.gradle
+3
-3
3 additions, 3 deletions
statemachine.solution/build.gradle
statemachine.solution/src/main/resources/StateMachine.relast
+9
-0
9 additions, 0 deletions
statemachine.solution/src/main/resources/StateMachine.relast
with
12 additions
and
3 deletions
statemachine.solution/build.gradle
+
3
−
3
View file @
87a13375
...
...
@@ -42,8 +42,8 @@ run {
}
// Generated files
def
ecoreFile
=
"./src/main/resources/
Exampl
e.relast"
def
relastFile
=
"./src/gen/jastadd/
Exampl
e.relast"
def
ecoreFile
=
"./src/main/resources/
StateMachin
e.relast"
def
relastFile
=
"./src/gen/jastadd/
StateMachin
e.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"
,
"
Exampl
e.relast"
"--outputBaseDir=src/gen/jastadd"
,
"
StateMachin
e.relast"
inputs
.
files
file
(
ecoreFile
)
outputs
.
files
file
(
relastFile
)
...
...
This diff is collapsed.
Click to expand it.
statemachine.solution/src/main/resources/StateMachine.relast
0 → 100644
+
9
−
0
View file @
87a13375
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;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment