|
Re: Generation of copyright statements [message #146404 is a reply to message #146396] |
Mon, 13 August 2007 14:38 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Andreas,
JMerge will not modify an existing header comment on a file, so you need
to set your copyright before you generate the files or delete all the
files and regenerate them.
Andreas Werner wrote:
> Hi,
>
> I wanted to add some copyright statements into my generated gmf editor
> sources.
> Is there any possibility to do this? (Of course supported through GMF!
> ;))
>
> In gmfgen the Gen Editor node has such a property to set a Copyright
> Text, but I can see no effect after regeneration!?
>
> Andreas
>
>
|
|
|
|
Re: Generation of copyright statements [message #146423 is a reply to message #146417] |
Mon, 13 August 2007 15:06 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Andreas,
I see. I just assumed GMF worked the same way. I guess not...
Andreas Werner wrote:
> Hello Ed,
>
> But in my generated editor sources there are no header comments before
> the package statement at all!
> Or will the generated comment be applied right before the class
> statement?
>
> By the way in EMF there is a comment generated before the package
> statement containing a copyright statement, that is defined in the
> genmodel!
>
> Andreas
>
>> Andreas,
>>
>> JMerge will not modify an existing header comment on a file, so you
>> need to set your copyright before you generate the files or delete all
>> the files and regenerate them.
>>
>> Andreas Werner wrote:
>>
>>> Hi,
>>>
>>> I wanted to add some copyright statements into my generated gmf
>>> editor
>>> sources.
>>> Is there any possibility to do this? (Of course supported through
>>> GMF!
>>> ;))
>>> In gmfgen the Gen Editor node has such a property to set a Copyright
>>> Text, but I can see no effect after regeneration!?
>>>
>>> Andreas
>>>
>
>
|
|
|
Re: Generation of copyright statements [message #146489 is a reply to message #146396] |
Tue, 14 August 2007 09:20 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
There is a dedicated property in gmfgen model -
GenEditorGenerator.copyrightText.
Andreas Werner wrote:
> Hi,
>
> I wanted to add some copyright statements into my generated gmf editor
> sources.
> Is there any possibility to do this? (Of course supported through GMF! ;))
>
> In gmfgen the Gen Editor node has such a property to set a Copyright
> Text, but I can see no effect after regeneration!?
>
> Andreas
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02944 seconds