Vincent Fretin | 29 Apr 2009 16:49
Picon
Gravatar

Re: Re: best practice to build profile for argouml 0.28

On Wed, Apr 29, 2009 at 4:35 PM, Tom Morris <tfmorris <at> gmail.com> wrote:
A year or two ago, I patched the ArchGenXML profile generator to
prepare it for our new profiles by providing stable xmi.id values, but
the patch also included some other functional improvements as well.  I
think, but am not sure, that I provided the patch to either the Plone
bug system or as an attachment/comment on one of the doc pages.  Do
you have that patch?  If not, I can see if I can resurrect it.
Now the archgenxml_profile.xmi use stable xmi.id.
I saw nowhere your patch. You already said that when I implemented stable xmi.id with the uuid module, but it seems your patch was never commited....
 
 


It sounds to me that both of these constraints can be handled by the
fundamental constraints of the Stereotype/TaggedValue system.
Stereotypes have base classes which constrain what elements they can
be applied to.  TagDefinitions are owned by Stereotypes and can only
be applied to elements which have those Stereotypes applied.  Are you
using this functionality or are you falling back to UML 1.3
compatibility mode where anything can be applied to anything?

Tom

For now all tagged-values can be used anywhere. We don't use the "tag definitions are associated with a stereotype" functionality. We should indeed. :-)

--
Vincent Fretin
Tom Morris | 29 Apr 2009 17:06
Picon
Gravatar

Re: Re: best practice to build profile for argouml 0.28

Here's an example of the profile generated using my patched profile
generator.  One of the other things that it looks like I did was copy
all the documentation over to the profile so that it's available to
the people who are modeling using the profile.  As I remember, there
were a few different little tweaks like this.

On Wed, Apr 29, 2009 at 10:49 AM, Vincent Fretin
<vincent.fretin <at> gmail.com> wrote:

> I saw nowhere your patch. You already said that when I implemented stable
> xmi.id with the uuid module, but it seems your patch was never commited....

I think I've located the code, or at least something close to it.  It
appears to be based on rev 9153 (September 2007?), so it'll probably
need to be updated, but I'll have a look.

Where should I put it/send it?

Tom

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=1981063

To unsubscribe from this discussion, e-mail: [users-unsubscribe <at> argouml.tigris.org].
Attachment (argouml_profile.xmi): application/octet-stream, 385 KiB
Vincent Fretin | 29 Apr 2009 17:22
Picon
Gravatar

Re: Re: best practice to build profile for argouml 0.28



On Wed, Apr 29, 2009 at 5:06 PM, Tom Morris <tfmorris <at> gmail.com> wrote:
Here's an example of the profile generated using my patched profile
generator.  One of the other things that it looks like I did was copy
all the documentation over to the profile so that it's available to
the people who are modeling using the profile.  As I remember, there
were a few different little tweaks like this.

On Wed, Apr 29, 2009 at 10:49 AM, Vincent Fretin
<vincent.fretin <at> gmail.com> wrote:

> I saw nowhere your patch. You already said that when I implemented stable
> xmi.id with the uuid module, but it seems your patch was never commited....

I think I've located the code, or at least something close to it.  It
appears to be based on rev 9153 (September 2007?), so it'll probably
need to be updated, but I'll have a look.

Where should I put it/send it?

Tom
I looked at your profile, you already had done some separations for the TDs, nice.
We should patch ArgoUMLProfileGenerator.py so it generate a profile like yours.
If you want to contribute a patch, you can send it to me and Jens, I'll review it and commit it.
--
Vincent Fretin
Thomas Neustupny | 29 Apr 2009 16:58
Picon
Picon
Gravatar

Re: Re: best practice to build profile for argouml 0.28

Hi!

> For now all tagged-values can be used anywhere. We don't use the "tag
> definitions are associated with a stereotype" functionality. We should
> indeed. :-)

Yes, and in my previous mail I described how, and I sent a modified profile, I hope you got it.

Thomas
--

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=1981016

To unsubscribe from this discussion, e-mail: [users-unsubscribe <at> argouml.tigris.org].

Vincent Fretin | 29 Apr 2009 17:09
Picon
Gravatar

Re: Re: best practice to build profile for argouml 0.28


On Wed, Apr 29, 2009 at 4:58 PM, Thomas Neustupny <thn-d <at> gmx.de> wrote:
Hi!

> For now all tagged-values can be used anywhere. We don't use the "tag
> definitions are associated with a stereotype" functionality. We should
> indeed. :-)

Yes, and in my previous mail I described how, and I sent a modified profile, I hope you got it.
Yes, thanks. I explained how to do it before your mail, if you read my previous mails. ;-)

--
Vincent Fretin

Gmane