英文:
Browse contents of ISO 20022 e-repository
问题
我想浏览 ISO 20022 电子存储库的内容,参考 https://www.iso20022.org/iso20022-repository/e-repository,但由于我刚开始使用 Eclipse,有些步骤让我感到困惑。可以说,我甚至不知道输出的形式会是什么样子,所以我感觉一无所知!!!
已执行的步骤:
- 安装了适用于 Java 开发者的 Eclipse IDE
- 从 http://download.eclipse.org/releases/mars 安装了“EMF - Eclipse Modeling Framework SDK”和“Ecore Diagram Editor (SDK)”
- 转到文件 > 新建 > 其他 > Eclipse Modeling Framework > EMF 项目,并导入 ecore 模型,将其指向从上述链接下载的 ISO20022.ecore
- 在面板中打开 ISO20022.genmodel,转到 Generator > Generate Model Code
但我不知道从这里该怎么办,或者该如何处理来自网站的“20200406_ISO20022_2013_eRepository.iso20022”文件。
我不明白“然后,您必须从实现元模型生成 Eclipse 插件。借助此插件,您可以打开存储库并浏览其内容”的含义,或者我应该根据链接中的说明做些什么。
英文:
I'm wanting to browse the contents of the ISO 20022 e-repository, per https://www.iso20022.org/iso20022-repository/e-repository but I'm struggling to understand some of the steps as I'm new to Eclipse. It's fair to say I don't even know what form the output will take, so I'm feeling blind!!!
Steps taken:
- Installed Eclipse IDE for Java Developers
- From http://download.eclipse.org/releases/mars installed "EMF - Eclipse Modelling Framework SDK" and "Ecore Diagram Editor (SDK)"
- Went to File > New > Other > Eclipse Modeling Framework > EMF Project and imported the ecore model, pointing it at ISO20022.ecore (downloaded from the above link)
- Opened ISO20022.genmodel in the panel, went to Generator > Generate Model Code
But I don't know where to go from here, or what to do with the "20200406_ISO20022_2013_eRepository.iso20022" file from the website.
I just don't know what "[t]hen, you have to generate an Eclipse plugin from the implementation metamodel. With this plugin, you can open the repository and browse its content" means or what I would do with it from the link's instructions.
答案1
得分: 2
我对于你的具体元模型不了解,但以下内容可能有效。
在.genmodel 文件中,你可能想要执行 Generate All(或者至少是 model/edit)。然后你需要执行 Run > Run Configurations > 在 'Eclipse Application' 上右键创建一个 'New Configuration' 并运行它。这将启动一个新的 Eclipse,其中部署了元模型。
在这第二个 Eclipse 实例中,创建一个新的空项目(在 Eclipse 工作区中,你不能有散文件,所以你至少需要一个所谓的项目,File > New > Project... > General > Project),然后右键点击该项目并导入你的文件(顺便说一下,如果你打开这个文件,它可能只是一个 XMI 文件,基本上就是一个复杂的 XML 文件),然后你应该能够打开它(或者尝试右键点击 > Open With > Sample Ecore Model Editor)。它应该会显示为一个树形结构。
英文:
I don't know about your specific metamodel but the following should probably work.
In the .genmodel you probably want to do Generate All (or model/edit at the very least). Then you want to do Run > Run Configurations > right click on 'Eclipse Application' to create a 'new Configuration' and run it. It should launch a new Eclipse, in which the metamodel is deployed.
In this second Eclipse instance, create a new empty project (in an Eclipse workspace, you can't have loose files so you need at least one so-called project, File > New > Project... > General > Project), then right click on it and import your file (btw if you open the file it is probably just an XMI so basically just a complex XML file) and you should be able to open it (or try using right click > open with > sample ecore model editor). It should appear as a tree.
答案2
得分: 1
根据您在模型中寻找的内容,网站https://www.mx-message.com可以让您在线浏览ISO 20022消息的结构和内容。
英文:
Depending on what you're looking for in the model, the site https://www.mx-message.com let's you browse the structure and contents of the ISO 20022 messages online.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论