eclipse-emf

How do I install an Eclipse EPP (for example EPP Modeling Feature on 3.8)?

这一生的挚爱 提交于 2019-11-30 00:08:19
问题 How do I install an Eclipse EPP through the software installer for 3.8? I would like to choose the "EPP Modeling Feature" and install all of its packages rather than selecting them all individually. As an example if I install Eclipse Juno "Eclipse Modeling Tools" and then look at the installed software packages I will see "EPP Modeling Feature 1.5.0.20120620-0855 org.eclipse.epp.package.modeling.feature.group. If I then also install the base Eclipse 3.8 and choose "install new software" and

Where can I find a valid SVG XML Schema (for ecore generation)?

北城以北 提交于 2019-11-29 10:25:39
I tried importing the SVG XML Schema into EMF, to obtain the SVG metamodel in ecore. However, the import failed due to the schema not being valid: indeed, svg.xsd references XMLSchema.dtd , which itself references datatypes.dtd , which does not exist! Consequently, I tried downloading the necessary files from the svg website (svg.xsd, XMLSchema.dtd, xlink.xsd , xml.xsd ), and the missing datatypes.dtd, from another location . However, I keep getting many errors when validating the schema, e.g. Error: XSD: An attribute reference may not have a type Error: XSD: An <all> content model may not be

How to use EMF to read XML file?

ε祈祈猫儿з 提交于 2019-11-28 21:52:33
EMF = Eclipse Modeling Framework I have to use EMF in one of my class projects. I am trying to understand how to use EMF to do the following: Read XML, Get the values into objects. Use ORM to persist the values in objects to database. - Done Get data from database using ORM and generate XML. I need to do all of that using: EMF (no idea what so ever) and JPA (DONE). I have used JAXB and I know, this can be done using JAXB, but how is (EMF == JAXB)?! I have created many java classes using EMF, but there are so many of them! Where do I implement the read/write methods and how do I run the EMF