如何使用.ecore元模型生成插件 [英] How to generate plug-in using .ecore metamodel

查看:70
本文介绍了如何使用.ecore元模型生成插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个文件,一个ecore实现元模型和一个电子存储库.电子存储库以EMF格式与ecore实施元模型一起提供.我想浏览该存储库的内容,而我所知道的是,我必须从实现元模型中生成一个Eclipse插件,并且使用该插件,我可以打开存储库并浏览其内容.但是我不知道如何生成插件并继续使用它.

使用EMF版本2.7开发了ecore实现元模型,该版本可在Eclipse Indigo SR2中找到,而e-Repository是在相同环境下生成的.

有人可以帮我吗?我几乎不了解使用这些元模型和插件的知识.有教程或要遵循的步骤吗?

http://www.iso20022.org/e_dictionary.page )

恐怕ecore元模型中有一个错误会导致(正确)无法生成更新版本的EMF.该错误已于去年修复,并且我已经使用最新(火星)的Eclipse Modeling Tools测试了最新版本的元模型.

因此,我的建议是下载并重试.如果您的问题仍然存在,请向ISO 20022注册管理机构(mailto:iso20022ra@iso20022.org)发送注释-如果他们无法帮助您,请他们将您指向Jamie,我会帮助您.祝你好运!

I have 2 files, an ecore implementation metamodel and an e-Repository. The e-Repository is provided in EMF format together with the ecore implementation metamodel. I want to browse the contents of this repository and all I know is that I have to generate an Eclipse plugin from the implementation metamodel and with this plugin, I can open the repository and browse its content. But I have no idea how to generate the plugin and proceed with it.

The ecore implementation metamodel was developed using EMF version 2.7 which can be found in Eclipse Indigo SR2, the e-Repository was generated with the same environment.

Can anybody help me with this, please? I have almost no knowledge about working with these meta-models and plug-ins. Any tutorial or steps to follow?

解决方案

Hi Aleenah – Sorry about the slow reply, but just stumbled on this - It looks like you’re trying to get started with the ISO 20022 e-Repository, right? (http://www.iso20022.org/e_dictionary.page)

I'm afraid that there was a bug in the ecore metamodel that caused more recent versions of EMF to (correctly) fail to generate. This bug was fixed last year and I've tested the latest version of the metamodel with the latest (Mars) version of Eclipse Modeling Tools.

So, my advice is to download and try again. If your problem persists, drop a note to the ISO 20022 Registration Authority (mailto:iso20022ra@iso20022.org) - If they can’t help you, ask them to point you to Jamie and I’ll help you out. Good luck!

这篇关于如何使用.ecore元模型生成插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆