Patches item #764134, was opened at 2003-07-01 20:56
Message generated for change (Comment added) made by mattes3
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536547&aid=764134&group_id=73047

Category: None
Group: None
>Status: Pending
Resolution: None
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-02 16: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

Reply via email to