UaModeler and version control
Posted: 22 Sep 2017, 08:35
Hello all,
We are using the C++ SDKs and UaModeler to make changes to our OPC-UA model.
The uamodeler project files, model xml definition and generated code all live in one git repository.
Sometimes it happens that changes to the OPC-UA model are done in different branches that then need to be merged together. Because UaModeler projects are in a binary format this merging cannot be done automatically.
Perhaps we could use the xml model to merge the branches but we would need to do that manually as well because the merging involves some logic, e.g. to prevent different nodes having the same node id, etc...
Is there a way to merge different models together into one automatically ? If not do you have any suggestions how to approach this problem ? Does UaModeler have some features that can help with this that we don't know ?
Also, it would be nice if, for example, code generation could be done from the command line so our Jenkins can do that automatically.
Thanks in advance,
Lambert Duijst
We are using the C++ SDKs and UaModeler to make changes to our OPC-UA model.
The uamodeler project files, model xml definition and generated code all live in one git repository.
Sometimes it happens that changes to the OPC-UA model are done in different branches that then need to be merged together. Because UaModeler projects are in a binary format this merging cannot be done automatically.
Perhaps we could use the xml model to merge the branches but we would need to do that manually as well because the merging involves some logic, e.g. to prevent different nodes having the same node id, etc...
Is there a way to merge different models together into one automatically ? If not do you have any suggestions how to approach this problem ? Does UaModeler have some features that can help with this that we don't know ?
Also, it would be nice if, for example, code generation could be done from the command line so our Jenkins can do that automatically.
Thanks in advance,
Lambert Duijst