Skip to main content



      Home
Home » Modeling » EMF » when try to generate .genmodel from .ecore file, the ecore could not be loaded
when try to generate .genmodel from .ecore file, the ecore could not be loaded [message #403388] Tue, 05 September 2006 23:29 Go to next message
Eclipse UserFriend
the .ecore file is generated through EclipseUML, but when i try to import
the .ecore file, it always failed.
(The "finish" button always is always disabled.)

any reason for this?
Thanks
Re: when try to generate .genmodel from .ecore file, the ecore could not be loaded [message #403391 is a reply to message #403388] Wed, 06 September 2006 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Chen,

Check the error log view. There must be some clues as to what's gone wrong.


chen wrote:
> the .ecore file is generated through EclipseUML, but when i try to import
> the .ecore file, it always failed.
> (The "finish" button always is always disabled.)
>
> any reason for this?
> Thanks
>
>
>
Re: when try to generate .genmodel from .ecore file, the ecore could not be loaded [message #403392 is a reply to message #403391] Wed, 06 September 2006 09:10 Go to previous messageGo to next message
Eclipse UserFriend
I checked..but there is no clue for this...
I actually only build a very simiple Ecore model with only one attibute, but
still...
I have attached my ecore file to this mail..could u help me check what's
wrong with this?
I wanna generate the .genmodel from this ...
Thanks in advance..
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:edmghl$2bv$2@utils.eclipse.org...
> Chen,
>
> Check the error log view. There must be some clues as to what's gone
> wrong.
>
>
> chen wrote:
>> the .ecore file is generated through EclipseUML, but when i try to import
>> the .ecore file, it always failed.
>> (The "finish" button always is always disabled.)
>>
>> any reason for this?
>> Thanks
>>
>>
>>



Re: when try to generate .genmodel from .ecore file, the ecore could not be loaded [message #403395 is a reply to message #403392] Wed, 06 September 2006 09:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi, Ed,
I worked that out.
I direclty modified the .ecore file according to some .ecore file i created
before,
It seems that i need
<ecore:EPackage xmi:version="2.0" and

<eClassifiers xsi:type="ecore:EClass" name="ModelModelUI">
before adding this, i only have some EAttributes..
Thanks very much.
chen




"chen" <wangchen1981@gmail.com> wrote in message
news:edmhbo$7n2$1@utils.eclipse.org...
>I checked..but there is no clue for this...
> I actually only build a very simiple Ecore model with only one attibute,
> but still...
> I have attached my ecore file to this mail..could u help me check what's
> wrong with this?
> I wanna generate the .genmodel from this ...
> Thanks in advance..
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:edmghl$2bv$2@utils.eclipse.org...
>> Chen,
>>
>> Check the error log view. There must be some clues as to what's gone
>> wrong.
>>
>>
>> chen wrote:
>>> the .ecore file is generated through EclipseUML, but when i try to
>>> import
>>> the .ecore file, it always failed.
>>> (The "finish" button always is always disabled.)
>>>
>>> any reason for this?
>>> Thanks
>>>
>>>
>>>
>
>
>
Re: when try to generate .genmodel from .ecore file, the ecore could not be loaded [message #403396 is a reply to message #403392] Wed, 06 September 2006 09:21 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------040503030403050900050209
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Chen,

The resource doesn't contain an EPackage so it's being treated like an
empty file. An EClass in isolation is not meaningful. It must be
nested in an EPackage.


chen wrote:
> I checked..but there is no clue for this...
> I actually only build a very simiple Ecore model with only one attibute, but
> still...
> I have attached my ecore file to this mail..could u help me check what's
> wrong with this?
> I wanna generate the .genmodel from this ...
> Thanks in advance..
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:edmghl$2bv$2@utils.eclipse.org...
>
>> Chen,
>>
>> Check the error log view. There must be some clues as to what's gone
>> wrong.
>>
>>
>> chen wrote:
>>
>>> the .ecore file is generated through EclipseUML, but when i try to import
>>> the .ecore file, it always failed.
>>> (The "finish" button always is always disabled.)
>>>
>>> any reason for this?
>>> Thanks
>>>
>>>
>>>
>>>
>
>
>


--------------040503030403050900050209
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">
Chen,<br>
<br>
The resource doesn't contain an EPackage so it's being treated like an
empty file.&nbsp; An EClass in isolation is not meaningful.&nbsp; It must be
nested in an EPackage.<br>
<br>
<br>
chen wrote:
<blockquote cite="midedmhbo$7n2$1@utils.eclipse.org" type="cite">
<pre wrap="">I checked..but there is no clue for this...
I actually only build a very simiple Ecore model with only one attibute, but
still...
I have attached my ecore file to this mail..could u help me check what's
wrong with this?
I wanna generate the .genmodel from this ...
Thanks in advance..
"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:edmghl$2bv$2@utils.eclipse.org">news:edmghl$2bv$2@utils.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Chen,

Check the error log view. There must be some clues as to what's gone
wrong.


chen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">the .ecore file is generated through EclipseUML, but when i try to import
the .ecore file, it always failed.
(The "finish" button always is always disabled.)

any reason for this?
Thanks



</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------040503030403050900050209--
Previous Topic:How to get namespace attributes using Encore model?
Next Topic:Invoking validate(..) programmatically
Goto Forum:
  


Current Time: Wed Nov 05 10:50:14 EST 2025

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

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

Back to the top