model-UA / uml-to-opcua

Eclipse Public License 2.0
6 stars 1 forks source link

Transform with QVTo fails #2

Closed thomasfruehwirth closed 3 years ago

thomasfruehwirth commented 3 years ago

When right-clicking on a UML file and selecting "Transform to OPC UA" --> "Transform with QVTo" the following Errormessage is shown (Transform with custom QVTo is working though):

Executing QVT transformation failed with error Diagnostic ERROR source=org.eclipse.m2m.qvt.oml.execution code=130: Compilation errors found in unit 'platform:/plugin/at.ac.tuwien.auto.modelua.uml2opcua.qvto.transformation/transforms/Uml2Opcua.qvto' [Line 4: Cannot find imported compilation unit 'Common.Helpers', Line 5: Cannot find imported compilation unit 'ClassDiagram.Classes', Line 6: Cannot find imported compilation unit 'StateMachineDiagram.StateMachines', Line 30: Unrecognized variable: (OPCUA_NAMESPACE_URI), Line 30: Cannot find operation (addNamespace(Integer, OclInvalid)) for the type (), Line 34: Unrecognized variable: (CFG_USE_BLACKBOX), Line 35: Unrecognized variable: (OPCUA_NAMESPACE_URI), Line 35: Cannot find operation (loadExternalNodeIds(OclInvalid, String)) for the type (), Line 37: Cannot find operation (loadInternalNodeIds()) for the type (), Line 83: Cannot find operation (class2OPCUAObjectType(UANodeSetType)) neither for the type (Set(Class)) nor for its element type (Class), Line 83: Mapping operation expected, Line 86: Cannot find operation (statemachine2FiniteStateMachineType(UANodeSetType)) neither for the type (Set(StateMachine)) nor for its element type (StateMachine), Line 86: Mapping operation expected, Line 63: Cannot find operation (class2OPCUAObjectType(UANodeSetType)) neither for the type (Set(Class)) nor for its element type (Class), Line 63: Mapping operation expected, Line 66: Cannot find operation (statemachine2FiniteStateMachineType(UANodeSetType)) neither for the type (Set(StateMachine)) nor for its element type (StateMachine), Line 66: Mapping operation expected, Line 72: Cannot find operation (fillUriTable(UriTable)) for the type (), Line 75: Unrecognized variable: (CFG_ENABLE_ALIAS_TABLE), Line 77: Cannot find operation (fillAliasTable(AliasTable)) for the type ()]