Skip to content

Commit

Permalink
Adapt SCXML generation commandline output
Browse files Browse the repository at this point in the history
  • Loading branch information
dziegel committed Aug 22, 2024
1 parent 1fcf449 commit cdacc69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion generator/src/generator/Generator.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void main(String[] args) throws Exception {
}

if (filename.endsWith(".scxml")) {
System.out.println("Generating SCXML model " + filename);
System.out.println("Loading SCXML model " + filename);
var scxml = new PlainXmlModel();
scxml.setFile(new File(filename));
scxml.setName("SCXML");
Expand Down
1 change: 1 addition & 0 deletions generator/src/generator/ScxmlDeclaration.egl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
var statemachine = sm.getModel();
statemachine.transformStatemachine();

("Generate declaration for statemachine " + sm.name).println();
var declarationTemplate : Template = TemplateFactory.load("Declaration.egl");
declarationTemplate.populate("statemachine", statemachine);
%]
Expand Down
1 change: 1 addition & 0 deletions generator/src/generator/ScxmlInstance.egl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
var statemachine = sm.getModel();
statemachine.transformStatemachine();

("Generate instance for statemachine " + sm.name).println();
var instanceTemplate : Template = TemplateFactory.load("Instance.egl");
instanceTemplate.populate("statemachine", statemachine);
%]
Expand Down
1 change: 1 addition & 0 deletions generator/src/generator/ScxmlInterface.egl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
var statemachine = sm.getModel();
statemachine.transformStatemachine();

("Generate interface for statemachine " + sm.name).println();
var interfaceTemplate : Template = TemplateFactory.load("Interface.egl");
interfaceTemplate.populate("statemachine", statemachine);
%]
Expand Down

0 comments on commit cdacc69

Please sign in to comment.