Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » EMF.JETCompiler fails to Extend EMF model(EMF.JETCompiler fails to Extend EMF model)
EMF.JETCompiler fails to Extend EMF model [message #496236] Mon, 09 November 2009 12:36
Asheesh Arora is currently offline Asheesh AroraFriend
Messages: 2
Registered: November 2009
Location: Pune
Junior Member
I am extending EMF Ecore model to have an implementation like UML2. I have defined my templates/model/Class.javajet file like:

<%@ jet package="my.templates.model" imports="java.util.* org.eclipse.emf.codegen.ecore.genmodel.*  org.eclipse.emf.ecore.*" class="Class"%>
<%@ include file="Class.javajet"%>

I have created an ant task:

<target name="Class">

When I execute this ant task, I get the file not found error. I am able to compile this if I remove the include tag. Also I am able to generate the code if I generate the model code from generator model i.e. RMB in genmodel and select Generate Model Code.
My requirement is I do not want to launch runtime eclipse to compile/generate my jet files. I also tried changing the project nature to JET nature but that also has the same problem.

Any suggetions?

Previous Topic:Eclipse Modeling Days
Next Topic:Re: Hand object as GLOBALVAR into Xtend file via MWE workflow?
Goto Forum:

Current Time: Fri Dec 02 10:57:11 GMT 2022

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

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

Back to the top