Tony,

yes indeed... it worked exactly as you said it would, thanks!
(except for the attribute name, apparently it is not 'classname' but 
'transformClassname' - just as in the cartridge descriptor)

extending UMLStaticHelper works fine, but maybe it is an even better idea to add a 
UMLDynamicHelper to the kernel (any 'static' functionality could be delegated to the 
UMLStaticHelper, rather than by extending it)

More cartridges could make use of the dynamic features that way.

cheers
Wouter.

"Tony Mowers" <[EMAIL PROTECTED]> wrote:

>
>
>> > 3. I want my output filenames to be a function of the names
>> > as they appear in the model elements, how can I do this
>> > without touching the kernel ? (I am now overriding getName()
>> > and getPackageName() in UMLStaticHelper)
>>
>> Hmmm... today, there is no good mechanism that allows you to do so. I'll
>> have to think about this.
>>
>
>I sent an e-mail earlier, but I am not sure it got through.
>
>You can override the UMLStaticHelper in exacty the way you are doing it now,
>and not have to touch the kernel. Use the 'repository' build tag in the
>build.xml file and this accomplishes what you are doing now without having
>to change any classes in the AndroMDA jar.
>
>see 'repository' on page:
>http://www.andromda.org/pages/buildtags.html
>
>It is not ideal, but it allows you to do exactly what you did with the
>UMLStaticHelper object without having to touch the kernel. �The one problem
>is that your UMLStaticHelper object will then be used by every cartridge.
>
>


-- 
-----------------------------
http://jeteam.sourceforge.net

-----------------------------


__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to