Growing profile file size [message #900074] |
Fri, 03 August 2012 15:54  |
Eclipse User |
|
|
|
Hi,
Everytime I define my profile it increases consideraly in size. It happens because the file keeps old definitions for compatibility with older models.
OK, my question is simple (I think): what is the best way to erase this history, turning the profile to a minimal size. Is there a way to fine tune this, removing old versions to a certain time?
I had done it by hand (edit!)... but I'm sure there must be some API to do that. Just forget about it.
Thanks.
|
|
|
|
|
Re: Growing profile file size [message #988207 is a reply to message #900235] |
Wed, 28 November 2012 14:36  |
Eclipse User |
|
|
|
It's necessary to keep each "definition" if you have applied (previous
versions of) the profile to models. If that's not the case, or you don't
want to leverage UML2's "best effort" automatic migration support, it
should be safe safe to remove the older definitions from the contents of
the annotation.
Kenn
On 12-08-05 9:07 PM, Alexandre Torres wrote:
> Hi Ed. After changing a profile, it must be re-defined by using the menu
> UML Editor->Profile->Define
> Alright?
> But every time I run define, the uml file that stores my profile
> increases its size.
> Inspecting the uml contents with a compare tool, I found out that it
> stores each version of the definition.
> Now, what is a bloat? The problem has nothing to do with the application
> of the profile.
> Thanks
>
> Ed Willink wrote on Sun, 05 August 2012 15:50
>> Hi
>>
>> You're question is very vague: what file? why does it keep things? are
>> you enforcing compatibility bloat yourself?
>>
>> The answer is simple (I think). Don't retain bloat. A profile can be
>> unapplied just as it can be applied.
>>
>> Regards
>>
>> Ed Willink
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05179 seconds