Hi Nathan,
From the java cartridge andromda-cartridge.xml:
"<templateObject name="stringUtils" className="org.apache.commons.lang.StringUtils"/>"
so you should be able to access "$stringUtils" from the templates
If you want to merge in your own templateObject definitions, use the
"<!-- cartridge-templateObject merge-point-->" in the java cartridge's andromda-cartridge.xml to merge in your own.
Nathan Coast wrote:
Hi,
I've overridden the value object template from the java cartridge using the <mergeLocation> property. In my template, I'd like to access an instance of org.apache.commons.lang.StringUtils. The java cartridge doesn't declare a stringUtils variable. Is there any way for me to declare a stringUtils instance for use within my template? or do I have to copy the value object code code into my own cartridge?
cheers Nathan
------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user