Skip to main content



      Home
Home » Modeling » EMF » Source code for ecore generator
Source code for ecore generator [message #423273] Thu, 25 September 2008 14:00 Go to next message
Eclipse UserFriend
Where can I find the source code that generates ecore models from Java code?

In particular, where can I find the source code that parses annotations
in Java code?

Thanks

Charlie
Re: Source code for ecore generator [message #423274 is a reply to message #423273] Thu, 25 September 2008 14:48 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------080908090802090403070906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Charlie,

The @model -> Ecore conversion is done by
org.eclipse.emf.importer.java.builder.JavaEcoreBuilder. Of course the
SDK ships with source plugins, so you can browse those. There are also
nice instructions for setting up an image the same way the developers do
by extracting it from CVS:
<http://wiki.eclipse.org/EMF/Getting_Source>

http://wiki.eclipse.org/EMF/Getting_Source


Charlie Kelly wrote:
> Where can I find the source code that generates ecore models from Java
> code?
>
> In particular, where can I find the source code that parses
> annotations in Java code?
>
> Thanks
>
> Charlie

--------------080908090802090403070906
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Charlie,<br>
<br>
The @model -&gt; Ecore conversion is done by
org.eclipse.emf.importer.java.builder.JavaEcoreBuilder.& nbsp; Of course the
SDK ships with source plugins, so you can browse those.&nbsp; There are also
nice instructions for setting up an image the same way the developers
do by extracting it from CVS:<a
href="http://wiki.eclipse.org/EMF/Getting_Source"><br>
</a>
<blockquote><a href="http://wiki.eclipse.org/EMF/Getting_Source">http://wiki.eclipse.org/EMF/Getting_Source</a><br>
</blockquote>
<br>
Charlie Kelly wrote:
<blockquote cite="mid:gbgjk8$phl$1@build.eclipse.org" type="cite">Where
can I find the source code that generates ecore models from Java code?
<br>
<br>
In particular, where can I find the source code that parses annotations
in Java code?
<br>
<br>
Thanks
<br>
<br>
Charlie
<br>
</blockquote>
</body>
</html>

--------------080908090802090403070906--
Previous Topic:open editor by marker in problems view
Next Topic:limit number (other than 1) of children in an EReference
Goto Forum:
  


Current Time: Sun Jul 13 16:23:02 EDT 2025

Powered by FUDForum. Page generated in 0.04153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top