Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Protected Regions in Acceleo for Java
Protected Regions in Acceleo for Java [message #481568] Fri, 21 August 2009 14:52 Go to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
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

Re: Protected Regions in Acceleo for Java [message #481745 is a reply to message #481568] Mon, 24 August 2009 07:58 Go to previous message
Laurent Goubet is currently online Laurent GoubetFriend
Messages: 1857
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

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] 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


Timothy Marc a
Previous Topic:jet xpath expression to reference properties on an object valued model attribute
Next Topic:[XPAND] clear Xtend cached objects
Goto Forum:

Current Time: Wed Jun 20 09:53:50 GMT 2018

Powered by FUDForum. Page generated in 0.01910 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top