From cdacc6952cc78e81d4a0ac8afb6732ae70992a25 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 22 Aug 2024 08:44:42 +0200 Subject: [PATCH] Adapt SCXML generation commandline output --- generator/src/generator/Generator.java | 2 +- generator/src/generator/ScxmlDeclaration.egl | 1 + generator/src/generator/ScxmlInstance.egl | 1 + generator/src/generator/ScxmlInterface.egl | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/generator/src/generator/Generator.java b/generator/src/generator/Generator.java index 04e0644..a75248c 100644 --- a/generator/src/generator/Generator.java +++ b/generator/src/generator/Generator.java @@ -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"); diff --git a/generator/src/generator/ScxmlDeclaration.egl b/generator/src/generator/ScxmlDeclaration.egl index 0fe8393..cf01d60 100644 --- a/generator/src/generator/ScxmlDeclaration.egl +++ b/generator/src/generator/ScxmlDeclaration.egl @@ -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); %] diff --git a/generator/src/generator/ScxmlInstance.egl b/generator/src/generator/ScxmlInstance.egl index a503b85..c1e48f6 100644 --- a/generator/src/generator/ScxmlInstance.egl +++ b/generator/src/generator/ScxmlInstance.egl @@ -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); %] diff --git a/generator/src/generator/ScxmlInterface.egl b/generator/src/generator/ScxmlInterface.egl index 019f0d3..3af5ab0 100644 --- a/generator/src/generator/ScxmlInterface.egl +++ b/generator/src/generator/ScxmlInterface.egl @@ -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); %]