[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2t] Re: Protected Regions in Acceleo for Java

Hi Timothy,

If what you wish to do is generate java code, and your generating it within eclipse (not standalone), you can simply use "@generated" annotations in the javadoc of your generated code : we're leveraging JMerge.

Other than that, you can use [protected][/protected] blocks in your template to protect specifiic areas of the code. These areas can be modified in the generated code without being overriden by subsequent generations.

Laurent

Timothy Marc a écrit :
Hey all,

without digging deeper into the uml2java generation capabilities of Acceleo, i would like to know, whether protected regions are considered for an incremental implementation and regeneration process?

Thanks ion advance

/Timothy

begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr/";>Obeo</a>
email;internet:laurent.goubet@xxxxxxx
url:http://www.obeo.fr
version:2.1
end:vcard