Skip to main content



      Home
Home » Modeling » EMF » Not adding $ID$ to header
Not adding $ID$ to header [message #652725] Sat, 05 February 2011 16:49 Go to next message
Eclipse UserFriend
I'm moving my SCM from CVS to git and so the $ID$ expansion tags don't
make any sense in git. How do I stop them being automatically added by
the code generator to the header in source code files?

Once again, many thanks for a wonderful framework.

Phil Beauvoir
Re: Not adding $ID$ to header [message #652735 is a reply to message #652725] Sat, 05 February 2011 17:53 Go to previous messageGo to next message
Eclipse UserFriend
Phillipus,

You can set the Copyright property in the GenModel. Note that onces the
package comment exists, it won't be changed during regeneration.

Phillipus wrote:
> I'm moving my SCM from CVS to git and so the $ID$ expansion tags don't
> make any sense in git. How do I stop them being automatically added by
> the code generator to the header in source code files?
>
> Once again, many thanks for a wonderful framework.
>
> Phil Beauvoir
Re: Not adding $ID$ to header [message #652736 is a reply to message #652735] Sat, 05 February 2011 18:00 Go to previous messageGo to next message
Eclipse UserFriend
On 05/02/2011 22:53, Ed Merks wrote:
> Phillipus,
>
> You can set the Copyright property in the GenModel. Note that onces the
> package comment exists, it won't be changed during regeneration.
>
> Phillipus wrote:
>> I'm moving my SCM from CVS to git and so the $ID$ expansion tags don't
>> make any sense in git. How do I stop them being automatically added by
>> the code generator to the header in source code files?
>>
>> Once again, many thanks for a wonderful framework.
>>
>> Phil Beauvoir

Ed, I've set the "Copyright Text" field to a plain text copyright notice
and the "Copyright Fields" property is set to "false", but still the
$Id$ tag is generated.

Thanks for your time.

Phil
Re: Not adding $ID$ to header [message #652737 is a reply to message #652736] Sat, 05 February 2011 18:10 Go to previous message
Eclipse UserFriend
On 05/02/2011 23:00, Phillipus wrote:
> On 05/02/2011 22:53, Ed Merks wrote:
>> Phillipus,
>>
>> You can set the Copyright property in the GenModel. Note that onces the
>> package comment exists, it won't be changed during regeneration.
>>
>> Phillipus wrote:
>>> I'm moving my SCM from CVS to git and so the $ID$ expansion tags don't
>>> make any sense in git. How do I stop them being automatically added by
>>> the code generator to the header in source code files?
>>>
>>> Once again, many thanks for a wonderful framework.
>>>
>>> Phil Beauvoir
>
> Ed, I've set the "Copyright Text" field to a plain text copyright notice
> and the "Copyright Fields" property is set to "false", but still the
> $Id$ tag is generated.
>
> Thanks for your time.
>
> Phil

Ed, I've figured it out. Nothing to do with EMF or the genmodel, only my
own stupidity.

Sorry for wasting your time.

Have a great weekend,

Phil
Previous Topic:EContentAdapter on BPMN EMF model
Next Topic:EContentAdapter on BPMN EMF model
Goto Forum:
  


Current Time: Sun Jul 27 10:11:27 EDT 2025

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

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

Back to the top