Patches item #764134, was opened at 2003-07-01 18:56 Message generated for change (Settings changed) made by rkunze You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536547&aid=764134&group_id=73047
Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: Richard Kunze (rkunze) Assigned to: Nobody/Anonymous (nobody) Summary: Conditionally generate files depending on template output Initial Comment: This patch introduces the feature to only generate output files if a template generates a non-empty result. This can be used by a template developer to decide wheter or not to generate a file based on model and/or user property information. The feature can be set in andromda-cartridge.xml on a per-template basis. To prevent generation of empty files, set the "generateEmptyFiles" attribute of the <template> tag to "false". Note: If generateEmptyFiles is false, overWrite is true, the template produces empty output, and a file exists (e.g. from a previous run), then the file is removed. In addition to the actual code for this feature, the patch contains updates to the AndroMDATestCartridgeTest test case and a bugfix for build.xml that caused this test case to fail. ---------------------------------------------------------------------- Comment By: Matthias Bohlen (mattes3) Date: 2003-07-03 17:16 Message: Logged In: YES user_id=269920 Hi Richard, yes, right, I was mistaken - there is no need to update the other web page as well. I'll give you committer rights on CVS so that you can apply this patch by yourself. Send me an email when you have finished. Thanks again... Matthias ---------------------------------------------------------------------- Comment By: Richard Kunze (rkunze) Date: 2003-07-02 15:55 Message: Logged In: YES user_id=785616 Hi Matthias, Patch for documentation/xdocs/pages/cartridge.xml is attached. As for documentation/xdocs/pages/buildtags.xml, I don't see what I should document there. If I'm not mistaken, buildtags.xml is the documentation for using AndroMDA from ant, and there is nothing my patch that can be set from the build file. What do you think is missing in buildtags.xml? ---------------------------------------------------------------------- Comment By: Matthias Bohlen (mattes3) Date: 2003-07-02 14:36 Message: Logged In: YES user_id=269920 Hi Richard, this looks like an excellent patch - however, it lacks patches for documentation/xdocs/pages/cartridge.xml and documentation/xdocs/pages/buildtags.xml, the web page that describe how the user can use the feature you have implemented. Would you add them to the patch so that I can apply it completely? Thanks... Matthias ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536547&aid=764134&group_id=73047 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
