Hello Matthias,

Yeah, Chad and I talked about this feature the other day, but nothing
concretely has been implemented at this time because we're so busy.

I agree with you that we really would need this feature, I have
experienced the same issue. By overriding the templates it would be
possible to keep updating the cartridge binary without you custom
templates getting lost.

Feel free to submit a patch, we'll be happy to check it in.
 
Best regards.

-- Wouter


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:andromda-user-
> [EMAIL PROTECTED] On Behalf Of Matthias K�spert
> Sent: Sunday, August 22, 2004 4:26 PM
> To: [EMAIL PROTECTED]
> 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

Reply via email to