[Acceleo3.1] @generated NOT [message #685654] |
Fri, 17 June 2011 20:28  |
Eclipse User |
|
|
|
Hi,
I read that
"If you are generating a Java file, Acceleo features another mechanism to prevent the loss of the user code: JMerge. JMerge is a set of tags in the javadoc used to indicate if an element of a Java file has been generated or not. With a JMerge tag "@generated" you can indicate that this component has been generated and that it should be deleted and regenerated while a "@generated NOT" tag will indicate that all the content of the documented element has been changed by the user and it should not be overwritten by the new generation even outside of a protected area"
But when I try this in my generated code (with m2t-acceleo-Update-3.1.0), it fails.
Example:
/**
* the description setter.
* @return the description.
* @generated NOT
*/
public void setDescription(final String pdescription) {
this.description = pdescription;
}
this doesn't work
Do I have to do something (extra) else ?
thanks!!
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02741 seconds