model-UA / uml-to-opcua

Eclipse Public License 2.0
6 stars 1 forks source link

Plugin at.ac.tuwien.auto.modelua.uml2opcua.qvto.transformation #14

Open sdhouib opened 3 years ago

sdhouib commented 3 years ago

Hi, First of all, thank you for the published code. I am from CEA List and working in the Papyrus team. I would like to test your implementation of the opc-ua profile and code generation. Unfortunately, when checking out your plugins from github, I don't find this plugin: at.ac.tuwien.auto.modelua.uml2opcua.qvto.transformation

Where is it ?

Best Saadia DHOUIB

thomasfruehwirth commented 3 years ago

Hi, Thank you for your comment. The plugin should be provided by the uml-to-opcua/QvtoTransformationRules project, but maybe there is a problem regarding the plugin configuration somewhere. I will have a look at it and provide an update on the issue and maybe also adapt the Readme instructions (likely next week).

thomasfruehwirth commented 3 years ago

Hi, I did not encounter any problems with the plugin configuration but I updated the README. If you follow the steps under "Adding the Plugin to your Workspace" you should be able to compile and use the Plugins. Please tell me if you encounter any problems with the description provided by the README.

sdhouib commented 3 years ago

Hi, Thank you for your response. I have a compilation problem in: /at.ac.tuwien.auto.modelua.papyrus.designer.languages.opcua.codegen/src/at/ac/tuwien/auto/modelua/papyrus/designer/languages/opcua/codegen/OpcUaCodegen.java The import org.eclipse.papyrus.designer.languages.common.extensionpoints.ILangCodegen2 cannot be resolved

What is your version of Papyrus Designer ?

Here are my installation details: Eclipse Modeling Tools: Version: 2020-12 (4.18.0) Build id: 20201210-1552

Papyrus for UML 5.0.0.202012091059 org.eclipse.papyrus.sdk.feature.feature.group Eclipse Modeling Project

Papyrus Designer Components, develop and deploy component based applications (Incubation) 0.8.1.202102111610 org.eclipse.papyrus.designer.components.main.feature.feature.group Eclipse Modeling Project

QVT Operational SDK 3.10.3.v20210309-1855 org.eclipse.m2m.qvt.oml.sdk.feature.group Eclipse Modeling Project

thomasfruehwirth commented 3 years ago

Hi,

Thank you for your comment. I was able to reproduce the issue and we will fix it as soon as possible. For the meantime, you can resolve this problem via one of the following:

  1. Install the "Papyrus base elements for code generation" via the update site http://download.eclipse.org/modeling/mdt/papyrus/components/designer/ as described in https://github.com/model-UA/papyrus-opcua-plugin#install-designer-plugins OR (there seems to be a problem with the current version of the plugin)
  2. Remove the projects /at.ac.tuwien.auto.modelua.papyrus.designer.languages.opcua.codegen and /at.ac.tuwien.auto.modelua.papyrus.designer.languages.opcua.codegen.ui from your workspace (they provide depricated functionality which you will likely not need)

Hopefully, this resolves the issue. Please tell me if you encounter any additional problems. However, please consider opening a new issue at the papyrus-opcua-plugin project for problems related to the Papyrus OPC UA Plugin, rather than the Model Transformation Plugin. This will directly address the responsible developer and likley reduce the response time.