|
|
|
Re: Generate impl and interfaces in different projects [message #425013 is a reply to message #425011] |
Thu, 13 November 2008 12:01 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------070402060705040408030209
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
David,
The factory interface will always want to refer to the class for
implementing its default instance.
David Michonneau wrote:
> What about the case where we suppress EMF code in the generated interfaces?
>
> Thanks,
>
> David
>
> "Ed Merks" <Ed.Merks@gmail.com> wrote in message
> news:gfh386$map$2@build.eclipse.org...
>
>> David,
>>
>> No. Things like XyzPackage.eINSTANCE and XyzFactory.eINSTANCE need to
>> refer to a/the implementation class, so the interfaces and impls are
>> mutually dependent and as such, I'm not sure you can separate them into
>> two projects...
>>
>>
>> David Michonneau wrote:
>>
>>> Hi,
>>>
>>> I would like to generate the implementation classes and the interface
>>> ones in two different projects. Is there a simple way to do it?
>>>
>>> Thanks,
>>>
>>> David
>>>
>>>
>>>
>>>
>
>
>
--------------070402060705040408030209
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">
David,<br>
<br>
The factory interface will always want to refer to the class for
implementing its default instance.<br>
<br>
<br>
David Michonneau wrote:
<blockquote cite="mid:gfh3g8$51c$1@build.eclipse.org" type="cite">
<pre wrap="">What about the case where we suppress EMF code in the generated interfaces?
Thanks,
David
"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:Ed.Merks@gmail.com"><Ed.Merks@gmail.com></a> wrote in message
<a class="moz-txt-link-freetext" href="news:gfh386$map$2@build.eclipse.org">news:gfh386$map$2@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">David,
No. Things like XyzPackage.eINSTANCE and XyzFactory.eINSTANCE need to
refer to a/the implementation class, so the interfaces and impls are
mutually dependent and as such, I'm not sure you can separate them into
two projects...
David Michonneau wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I would like to generate the implementation classes and the interface
ones in two different projects. Is there a simple way to do it?
Thanks,
David
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
--------------070402060705040408030209--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02579 seconds