|Re: Annotated Java import missing [message #1567517 is a reply to message #1566038]
||Fri, 16 January 2015 12:01
| Ed Merks
Registered: July 2009
All the other importers let you load a model source from outside of the
Eclipse workspace, but importing from Java has to be done from files in
the workspace. So if you have a Java project with the Java source you
can create a new Generator model and specify that it use annotated
Java. You could also create an empty EMF project and create your Java
files in there and then create a Generator model.
On 15/01/2015 5:40 PM, Thomas Elskens wrote:
> I would like to try the possibility to generate an ecore model from annotated java, but when I create a new EMF Project, the EMF Wizard (see screenshot) proposes only three importers : Ecore, Rose, and XML (I downloaded the XSD feature).
> When looking in the OSGI-console from the running IDE, the java importer is there however, in the same way as the other three :
>> 426 ACTIVE org.eclipse.emf.importer_2.9.0.v20141013-0308
>> 427 STARTING org.eclipse.emf.importer.ecore_2.8.0.v20141013-0308
>> 428 STARTING org.eclipse.emf.importer.java_2.7.0.v20141013-0308
>> 429 STARTING org.eclipse.emf.importer.rose_2.7.0.v20141013-0308
>> 1086 STARTING org.eclipse.xsd.ecore.importer_2.7.0.v20141013-0308
> Any idea why this importer is missing in the wizard ?
> Thomas Elskens
Powered by FUDForum
. Page generated in 0.02073 seconds