Good idea Matthias, like Wouter said. we have been discussing this, I do
like the idea of defining a directory where it can decide to use those
templates instead.
of having to rejar the entire cartridge.  If you can add an issue to jira:
http://team.andromda.org:8080/jira so that we can keep track of this, that
would be great.  Put it under the CORE project.

Thanks!

Chad

----- Original Message ----- 
From: "Matthias K�spert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 22, 2004 10:25 AM
Subject: [Andromda-user] Overriding cartridge resources


> Hi everybody,
>
> First: thanks for this great tool!!
>
> Second: my question:
>
> Is there any other way to override cartridge-resources than copying
> the whole cartridge code?
>
> In case I would like to change the content of only one or two templates,
> pictures, etc., copying the hole cartridge seems a lot of overhead.
>
> I my eyes it seems very useful if there would be a way to provide custom
> templates/resources to a cartridge, like:
>
>   1. the user defines a merge-property i.e.:
>       <merge>src/merge/cartridge-xxx</merge>
>      for the cartridge (in the users project.xml)
>
>   2. the cartridge checks this property at runtime and eventually loads
>      the user-defined resource from the given merge directory instead
>      of the default one in the cartridge-jar.
>
> This way a cartridge can be configured to produce project-specific
> output.
>
> I looked at the sources and got the impression that it may not be
> too difficult to implement - if somebody could spot the point
> where the template-resource is loaded ... I didn't in time :-)
>
> Any comments?
>
>
> Matthias
>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user
>




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to