Yep you got it, that's the way it works :)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frederic
Chapuis
Sent: Thursday, December 23, 2004 1:11 PM
To: Chad Brandon; 'AndroMDA Users List'
Subject: Re: [Andromda-user] BPM4Struts customization

Ok, now I better understand the way it works.
So I have to define a mapping file to replace merge-point tags in the 
cartridge descriptor with any resources, templates...that I need.
Many thanks for the file...this is a true "(a)live" project ;o)


----- Original Message ----- 
From: "Chad Brandon" <[EMAIL PROTECTED]>
To: "'Frederic Chapuis'" <[EMAIL PROTECTED]>; "'AndroMDA Users List'"

<[email protected]>
Sent: Thursday, December 23, 2004 8:54 PM
Subject: RE: [Andromda-user] BPM4Struts customization


> Enhanced meaning you added merge points to it?  If you add merge points
> (i.e. <!-- cartridge-template merge-point -->) within the
> andromda-cartridge.xml then you can use the file defined by the
> mergeMappingsUri to map the new <template/> or <resource/> elements to 
> these
> merge points. I just added merge points to the andromda-cartridge.xmls in
> CVS (which is attached). What you can do for now  (until you get the one
> from CVS) is to just add this andromda-cartridge.xml in the existing
> bpm4struts cartridge and use the merge points in there. Make sense?
>
> Chad
>
> -----Original Message-----
> From: Frederic Chapuis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 23, 2004 12:32 PM
> To: Chad Brandon; 'AndroMDA Users List'
> Subject: Re: [Andromda-user] BPM4Struts customization
>
> Well, had a quick look and was wondering where I should put my enhanced
> andromda-cartridge.xml file ?
> Should it be somewhere in the mergeLocation or should I replace the one in
> the bpm4struts jar ?
>
> ----- Original Message ----- 
> From: "Chad Brandon" <[EMAIL PROTECTED]>
> To: "'Frederic Chapuis'" <[EMAIL PROTECTED]>; "'AndroMDA Users 
> List'"
>
> <[email protected]>
> Sent: Thursday, December 23, 2004 5:50 PM
> Subject: RE: [Andromda-user] BPM4Struts customization
>
>
>> You can use the mergeLocation in combination with the mergeMappingsUri.
>> You
>> can use the mergeMappingsUri to actually merge new templates/resources
>> into
>> the andromda-cartridge.xml (before its processed) and then use the
>> mergeLocation to specify the location of your new resources (which must 
>> be
>> in the merged andromda-cartridge.xml fragments).  Does that make sense?
>> However to do this, we'll need to add a merge point to the
>> andromda-cartridge.xml in the bpm4struts cartridge.
>>
>> -----Original Message-----
>> From: Frederic Chapuis [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, December 23, 2004 9:48 AM
>> To: Chad Brandon; 'AndroMDA Users List'
>> Subject: Re: [Andromda-user] BPM4Struts customization
>>
>> Oh, I didn't saw that, I was looking at the docs from the 10th December
>> So I'll take a look at that and give it a try before asking.
>> However, this is used for merging servlets but doesn't seem to handle
>> custom
>> resources like javascripts or anything else (images...). Am I wrong ?
>>
>> Thanks Chad
>>
>> ----- Original Message ----- 
>> From: "Chad Brandon" <[EMAIL PROTECTED]>
>> To: "'Frederic Chapuis'" <[EMAIL PROTECTED]>; "'AndroMDA Users
>> List'"
>>
>> <[email protected]>
>> Sent: Thursday, December 23, 2004 5:29 PM
>> Subject: RE: [Andromda-user] BPM4Struts customization
>>
>>
>>> Have you taken a look at this (recently added)?:
>>>
>>
>
http://team.andromda.org/docs/andromda-cartridges/index.html#mergeMappingsUr
>>> i
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of Frederic
>>> Chapuis
>>> Sent: Thursday, December 23, 2004 9:23 AM
>>> To: AndroMDA Users List
>>> Subject: [Andromda-user] BPM4Struts customization
>>>
>>> Hello,
>>>
>>> I'm now reaching the point where I would like to customize what is
>>> generated.
>>> For exemple add some javascript files into my JSPs.
>>> Using mergeLocation, I can have my customized templates for inserting
>>> javascript tags
>>> and my customized resources (limited to bundled ones: hints.js...), but
>>> how
>>> can I get my personnal javascript files inserted in the generated
>>> directory
>>> structure ?
>>> If I put them directly in a web/target sub-directory they will be 
>>> deleted
>>> upon cleaning.
>>>
>>> Also I found no documentation on how to merge manually written servlets,
>>> so
>>> If anyone can help...thanks.
>>>
>>> Fred.
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF email is sponsored by - The IT Product Guide
>>> Read honest & candid reviews on hundreds of IT Products from real users.
>>> Discover which products truly live up to the hype. Start reading now.
>>> http://productguide.itmanagersjournal.com/
>>> _______________________________________________
>>> Andromda-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/andromda-user
>>>
>>>
>>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://productguide.itmanagersjournal.com/
>> _______________________________________________
>> Andromda-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/andromda-user
>>
>>
>
> 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to