Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Problem: failed to create task or type emf.JETCompiler( Problem: failed to create task or type emf.JETCompiler)
Problem: failed to create task or type emf.JETCompiler [message #648138] Tue, 11 January 2011 12:03 Go to next message
puspendra  is currently offline puspendra Friend
Messages: 2
Registered: January 2011
Junior Member
Hi

I am trying to run ant script to generate java file from .htmlJET files written in build_template.xml from eclipse, but it is not running, below error is coming

16: Problem: failed to create task or type emf.JETCompiler
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 77 milliseconds

Can some tell me how can i resolve this..
Re: Problem: failed to create task or type emf.JETCompiler [message #648185 is a reply to message #648138] Tue, 11 January 2011 16:31 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
Perhaps you're not including the necessary EMF bundles that declare this
task. What have you included in your launch?


puspendra wrote:
> Hi
> I am trying to run ant script to generate java file from .htmlJET
> files written in build_template.xml from eclipse, but it is not
> running, below error is coming
> 16: Problem: failed to create task or type emf.JETCompiler Cause: The
> name is undefined. Action: Check the spelling. Action: Check that any
> custom tasks/types have been declared. Action: Check that any
> <presetdef>/<macrodef> declarations have taken place.
>
> Total time: 77 milliseconds
>
> Can some tell me how can i resolve this..


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problem: failed to create task or type emf.JETCompiler [message #648287 is a reply to message #648185] Wed, 12 January 2011 09:32 Go to previous messageGo to next message
puspendra  is currently offline puspendra Friend
Messages: 2
Registered: January 2011
Junior Member
I have included
org.eclipse.emf.common
org.eclipse.emf.ecore
org.eclipse.emf.edit

is some JRE i am missing ?
Re: Problem: failed to create task or type emf.JETCompiler [message #648391 is a reply to message #648287] Wed, 12 January 2011 16:54 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
The task is defined in org.eclipse.emf.ant so you'll have to include
that and all the things it depends on.

puspendra wrote:
> I have included org.eclipse.emf.common
> org.eclipse.emf.ecore
> org.eclipse.emf.edit
>
> is some JRE i am missing ?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[EMFStore] performances problems & model division
Next Topic:[EMF Compare] Epatch and NullPointerException
Goto Forum:
  


Current Time: Tue Mar 19 09:21:21 GMT 2024

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

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

Back to the top