Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: rescobar on October 06, 2004, 08:15:55 am
-
Hi, muchachos!
I don't like the comments generated by the forward eng. procedure. I would like to avoid them. How could I specify not to generate those comments? Or maybe to change them?
I tried "Code Generation Templates" erasing "Notes" but comments are generated anyway.
Thanks in advance for your kind help
Ramiro
-
Hola,
I think you are referring to the comments on the file, right? If you look at the code generation template for, for example, C#:
///////////////////////////////////////////////////////////
// %fileName%
// Implementation of the %elemType% %className%
// Generated by Enterprise Architect
// Created on: %eaDateTime%
%if classAuthor != ""%
// Original author: %classAuthor%
%endIf%
///////////////////////////////////////////////////////////\n
$COMMENT="WARNING: DO NOT MODIFY THIS TEMPLATE BELOW THIS POINT"
\n\n
%ImportSection%
%list="Namespace" @separator="\n\n"%
Just remove this:
///////////////////////////////////////////////////////////
// %fileName%
// Implementation of the %elemType% %className%
// Generated by Enterprise Architect
// Created on: %eaDateTime%
%if classAuthor != ""%
// Original author: %classAuthor%
%endIf%
///////////////////////////////////////////////////////////\n
That will stop generating the comments.
Hope this helps!
Bruno
-
Hi, Bruno. Thanks a lot. It works!
-
You're welcome!