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 Gerbig
Messages: 697
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: Wed Sep 17 21:48:14 GMT 2014

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

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