Generate Multiple Output Files From a Single Template -----------------------------------------------------
Key: CORE-82 URL: http://jira.andromda.org/browse/CORE-82 Project: AndroMDA Core Type: New Feature Versions: 3.1RC1 Reporter: Steven Cox Assigned to: Chad Brandon Chad, here's the unpolished thread... Yeah if you generated a version metafacade then you could do that easily. Can you do me a favor and file a JIRA issue for the CORE project for AndroMDA, so we can remember this...I may look into implementing functionality like that. --- Original message from Steven Cox (7/20/05 12:53 PM) --- Hmm, I'm generating the source model anyway - guess I'll look into ways to cram in a metafacade for each version or something. Thx. --- Original message from ChadBrandon (7/20/05 2:51 PM) --- Hmm usually the only way you output a template is by metafacade, I'm trying to think of how you'd do what you want to do but I don't think there is currently a way. --- Original message from Steven Cox (7/20/05 12:46 PM) --- no it isn't --- Original message from ChadBrandon (7/20/05 2:41 PM) --- is version a metafacade? --- Original message from Steven Cox (7/20/05 12:34 PM) --- Any examples in the andromda source of generating multiple files based on a single template invocation? eg, I have an entity that shows up once in my model but it has several versions that require generating separate files. I'd like to have the template do something like this: #macro (generateDataCollectionForm $registry) #foreach ($version in $registry.versions) #set ($generatedFile = "${entity.entityName}_${version.name}.jsp") ... write lots of code. #end #end Didn't see anything in the docs... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-devel mailing list Andromda-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-devel