|
|
|
| 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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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. An EClass in isolation is not meaningful. 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"><merks@ca.ibm.com></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--
|
|
|
Powered by
FUDForum. Page generated in 0.04072 seconds