Skip to main content



      Home
Home » Modeling » UML2 » Growing profile file size(how to reduce profile file size, cleaning up older definitions?)
Growing profile file size [message #900074] Fri, 03 August 2012 15:54 Go to next message
Eclipse UserFriend
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 #900227 is a reply to message #900074] Sun, 05 August 2012 15:50 Go to previous messageGo to next message
Eclipse UserFriend
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


On 03/08/2012 20:54, Alexandre Torres wrote:
> 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 #900235 is a reply to message #900227] Sun, 05 August 2012 21:07 Go to previous messageGo to next message
Eclipse UserFriend
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



Re: Growing profile file size [message #988207 is a reply to message #900235] Wed, 28 November 2012 14:36 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Creating/Loading (Legacy) UML Resources
Next Topic:How to identify a Class correctly?
Goto Forum:
  


Current Time: Thu Jul 17 02:03:56 EDT 2025

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

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

Back to the top