|
Re: Show Ecore Datamodel in editor [message #429615 is a reply to message #429609] |
Mon, 27 April 2009 16:35 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------020709090601010501040101
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Süleyman,
Your model plugin needs to be installed in the Eclipse you are running.
If you want it in the main Eclipse, you have to install it there.
There is no other way. You can use the tricks documented here for
bootstrapping your main Eclipse session with the workspace plugins you
are developing (but even then, you still need to exit and restart to
have them installed):
<http://wiki.eclipse.org/EMF/Getting_Source>
http://wiki.eclipse.org/EMF/Getting_Source
Süleyman Vurucu wrote:
> Hi Friends,
>
> I'v a little problem with loading my datamodel into a editor
> by double double click on the xmi file.
>
> My Datamoidel is a xmi file which serialized by emf.
>
> If I run a new eclipse instance by selecting my metamodel, then
> I can load my datamodel by double click. Otherwise I get a Exception
> like this
>
> "org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with
> uri 'http:///EA_Model/Logic.ecore' not found. "
>
> So I think thats normal because EMF don't register my metamodel.
>
> How can I register my metadodel so that I can load my datamodel without
> starting a new instance of eclipse.
>
> Thanks a lot.
>
>
--------------020709090601010501040101
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Süleyman,<br>
<br>
Your model plugin needs to be installed in the Eclipse you are
running. If you want it in the main Eclipse, you have to install it
there. There is no other way. You can use the tricks documented
here for bootstrapping your main Eclipse session with the workspace
plugins you are developing (but even then, you still need to exit and
restart to have them installed):<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>
Süleyman Vurucu wrote:
<blockquote cite="mid:gt4f4c$gm1$1@build.eclipse.org" type="cite">
<pre wrap="">Hi Friends,
I'v a little problem with loading my datamodel into a editor
by double double click on the xmi file.
My Datamoidel is a xmi file which serialized by emf.
If I run a new eclipse instance by selecting my metamodel, then
I can load my datamodel by double click. Otherwise I get a Exception
like this
"org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with
uri '<a class="moz-txt-link-freetext" href="http:///EA_Model/Logic.ecore">http:///EA_Model/Logic.ecore</a>' not found. "
So I think thats normal because EMF don't register my metamodel.
How can I register my metadodel so that I can load my datamodel without
starting a new instance of eclipse.
Thanks a lot.
</pre>
</blockquote>
</body>
</html>
--------------020709090601010501040101--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Show Ecore Datamodel in editor [message #429767 is a reply to message #429615] |
Thu, 30 April 2009 21:54 |
Süleyman Vurucu Messages: 34 Registered: July 2009 |
Member |
|
|
Hi Ed
sorry for the delayed answer at first. I had some problems with my internet
at home and I'm behind an annoying firewall at work :(.
I'v looked at the link that you mean, but that is a long winded way.
It was a "nice to have" feature that I have like. But it doesn't matter
because EMF relieves me so :D.
Am Mon, 27 Apr 2009 12:35:47 -0400 schrieb Ed Merks:
> Süleyman,
>
> Your model plugin needs to be installed in the Eclipse you are running.
> If you want it in the main Eclipse, you have to install it there. There
> is no other way. You can use the tricks documented here for
> bootstrapping your main Eclipse session with the workspace plugins you
> are developing (but even then, you still need to exit and restart to
> have them installed):
> <http://wiki.eclipse.org/EMF/Getting_Source>
>
> http://wiki.eclipse.org/EMF/Getting_Source
>
>
> Süleyman Vurucu wrote:
>> Hi Friends,
>>
>> I'v a little problem with loading my datamodel into a editor by double
>> double click on the xmi file.
>>
>> My Datamoidel is a xmi file which serialized by emf.
>>
>> If I run a new eclipse instance by selecting my metamodel, then I can
>> load my datamodel by double click. Otherwise I get a Exception like
>> this
>>
>> "org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
>> 'http:///EA_Model/Logic.ecore' not found. "
>>
>> So I think thats normal because EMF don't register my metamodel.
>>
>> How can I register my metadodel so that I can load my datamodel without
>> starting a new instance of eclipse.
>>
>> Thanks a lot.
>>
>>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
> <head>
> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000"> Süleyman,<br>
> <br>
> Your model plugin needs to be installed in the Eclipse you are running.
> If you want it in the main Eclipse, you have to install it there.
> There is no other way. You can use the tricks documented here for
> bootstrapping your main Eclipse session with the workspace plugins you
> are developing (but even then, you still need to exit and restart to
> have them installed):<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>
> Süleyman Vurucu wrote:
> <blockquote cite="mid:gt4f4c$gm1$1@build.eclipse.org" type="cite">
> <pre wrap="">Hi Friends,
>
> I'v a little problem with loading my datamodel into a editor by double
> double click on the xmi file.
>
> My Datamoidel is a xmi file which serialized by emf.
>
> If I run a new eclipse instance by selecting my metamodel, then I can
> load my datamodel by double click. Otherwise I get a Exception like this
>
> "org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
> '<a class="moz-txt-link-freetext"
> href="http:///EA_Model/Logic.ecore">http:///EA_Model/Logic.ecore</a>'
> not found. "
>
> So I think thats normal because EMF don't register my metamodel.
>
> How can I register my metadodel so that I can load my datamodel without
> starting a new instance of eclipse.
>
> Thanks a lot.
>
> </pre>
> </blockquote>
> </body>
> </html>
|
|
|
Powered by
FUDForum. Page generated in 0.03601 seconds