generated plugin providerName [message #418363] |
Mon, 14 April 2008 17:26 |
Eclipse User |
|
|
|
Originally posted by: schoepke.thetaris.com
Hi
In my generated EMF model code plugin, the %providerName properties
always is www.example.com, which i want to change.
I checked the .genmodel and .ecore but didn't find any reference to this
string. Can I change it, so it gets generated correctly?
thx
Norbert
|
|
|
|
Re: generated plugin providerName [message #418367 is a reply to message #418364] |
Mon, 14 April 2008 18:10 |
Eclipse User |
|
|
|
Originally posted by: schoepke.thetaris.com
Ok I just did that and was pleasantly surprised that re-generating did
not overwrite it. So it's not a big issue indeed.
But still, i don't check in the generated code at all, which means I
have to manually change these values as soon as i (or another developer
in my team) checks out the model files and generates from scratch.
I suppose for reasons like that GMF offers a special section in its
..gmfgen properties for things such as provider, version etc.
I'd really like to see that for EMF model, edit and editor code too.
Ed Merks wrote:
> Norbert,
>
> We expected you'd just change it in the plugin.properties itself. All
> the properties strings are intended to be editable...
>
>
> Norbert Schoepke wrote:
>> Hi
>>
>> In my generated EMF model code plugin, the %providerName properties
>> always is www.example.com, which i want to change.
>> I checked the .genmodel and .ecore but didn't find any reference to
>> this string. Can I change it, so it gets generated correctly?
>>
>> thx
>> Norbert
|
|
|
Re: generated plugin providerName [message #418368 is a reply to message #418367] |
Mon, 14 April 2008 18:35 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Norbert,
Feel free to open a bugzilla enhancement request for it.
Norbert Schoepke wrote:
> Ok I just did that and was pleasantly surprised that re-generating did
> not overwrite it. So it's not a big issue indeed.
>
> But still, i don't check in the generated code at all, which means I
> have to manually change these values as soon as i (or another
> developer in my team) checks out the model files and generates from
> scratch.
> I suppose for reasons like that GMF offers a special section in its
> ..gmfgen properties for things such as provider, version etc.
> I'd really like to see that for EMF model, edit and editor code too.
>
>
> Ed Merks wrote:
>> Norbert,
>>
>> We expected you'd just change it in the plugin.properties itself.
>> All the properties strings are intended to be editable...
>>
>>
>> Norbert Schoepke wrote:
>>> Hi
>>>
>>> In my generated EMF model code plugin, the %providerName properties
>>> always is www.example.com, which i want to change.
>>> I checked the .genmodel and .ecore but didn't find any reference to
>>> this string. Can I change it, so it gets generated correctly?
>>>
>>> thx
>>> Norbert
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04497 seconds