Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Jet] Execute alternative from override template
[Jet] Execute alternative from override template [message #755711] Wed, 09 November 2011 11:17
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

if have a template file which looks like this:

<%@ include file="aaa.override.javajetinc" fail="alternative" %>
<%@ start %>
//Some code here
<%@ end %>


I like to implement aaa.override.javajetinc like the following

<%if (){%>
//My Custom Code
<%}%>
<%else {%>
//Go back to the fail alternative in the original template
<%}%>


What I do not know is how I can realize the "//Go back to fail alternative .." in the template. Is there a command to let my template fail?

Ralph
Previous Topic:[JET] More than one level of transformation overrides
Next Topic:[acceleo 3.2] queries and nested Sequence of model objects
Goto Forum:
  


Current Time: Thu Mar 28 21:34:09 GMT 2024

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

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

Back to the top