Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363782

Summary: Support "once" file generation mode
Product: [Modeling] Acceleo Reporter: Laurent Goubet <laurent.goubet>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Laurent Goubet CLA 2011-11-15 04:13:10 EST
The file generation currently supports a boolean for the "mode" : append or overwrite. There should also be a mode in which Acceleo would not touch a file if it already exists : "once".

For example, MANIFEST.MF files do not support "comments" in their syntax, preventing the use of protected areas or @generated anotations. For such files, Acceleo should provide a "default" generation if it does not exist yet ... and never touch it again if it exists.
Comment 1 Laurent Goubet CLA 2016-04-06 11:00:51 EDT
Still holds true to this day... requires a parser change