Issue 13997: Section: 7.3, 8.1, 8.1.17 (mtt-rtf) Source: (, ) Nature: Enhancement Severity: Significant Summary: MTL defines an "open mode" to define how file blocks should behave : whether they append to existing files or overwrite them is defined this way. These two modes are not sufficient : users might want to generate files _only when they don't exist_. This can be either the very first transformation they execute (thus the file doesn't exist and need be created) or a latter generation when the user has deleted (inadvertently or on purpose) the target file. This is useful for configuration files that do not accept comments (thus rendering protected blocks unusable as these need a marker). An example of such a file is java's MANIFEST.MF file which format is extremely rigid. Resolution: Revised Text: Actions taken: June 17, 2009: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 17 Jun 2009 11:51:56 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Laurent Goubet Company: Obeo mailFrom: laurent.goubet@obeo.fr Notification: Yes Specification: MOF Model to Text Transformation Language (MOFM2T) Section: 7.3, 8.1, 8.1.17 FormalNumber: formal/2008-01-16 Version: 1.0 RevisionDate: 01/16/08 Page: 9, 10, 13, 19 Nature: Enhancement Severity: Significant HTTP User Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9) Gecko/2008052912 Firefox/3.0 Description MTL defines an "open mode" to define how file blocks should behave : whether they append to existing files or overwrite them is defined this way. These two modes are not sufficient : users might want to generate files _only when they don't exist_. This can be either the very first transformation they execute (thus the file doesn't exist and need be created) or a latter generation when the user has deleted (inadvertently or on purpose) the target file. This is useful for configuration files that do not accept comments (thus rendering protected blocks unusable as these need a marker). An example of such a file is java's MANIFEST.MF file which format is extremely rigid.