Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF code generator [Error emf.Ecore2Java](EMF code generator [Error emf.Ecore2Java])
icon10.gif  EMF code generator [Error emf.Ecore2Java] [message #1223317] Mon, 23 December 2013 03:45 Go to next message
javs javs is currently offline javs javsFriend
Messages: 27
Registered: November 2013
Junior Member
hello friends,

I'm trying to run an ant task that contains a target of emf.Ecore2Java, I try to run it from java but I get the following error:

Problem: failed to create task or type emf.Ecore2Java

pictures in this more specific

  • Attachment: probleam.png
    (Size: 34.75KB, Downloaded 32 times)
Re: EMF code generator [Error emf.Ecore2Java] [message #1223364 is a reply to message #1223317] Mon, 23 December 2013 07:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26287
Registered: July 2009
Senior Member
If you're trying to run the generator as a action in the IDE, you'd be
better to look at what the ant task does and do that directly in your
action. I don't know how you're supposed to invoke an ant task
programatically. You can also configure any project to automatically
run ant tasks during a build without needing your own specialized action.

On 23/12/2013 4:45 AM, javs javs wrote:
> hello friends,
>
> I'm trying to run an ant task that contains a target of emf.Ecore2Java, I try to run it from java but I get the following error:
>
> Problem: failed to create task or type emf.Ecore2Java
>
> pictures in this more specific
>
>
Re: EMF code generator [Error emf.Ecore2Java] [message #1223440 is a reply to message #1223364] Mon, 23 December 2013 11:45 Go to previous messageGo to next message
javs javs is currently offline javs javsFriend
Messages: 27
Registered: November 2013
Junior Member
friend you did not understand, how could I fix this?

many thanks





Ed Merks wrote on Mon, 23 December 2013 02:01
If you're trying to run the generator as a action in the IDE, you'd be
better to look at what the ant task does and do that directly in your
action. I don't know how you're supposed to invoke an ant task
programatically. You can also configure any project to automatically
run ant tasks during a build without needing your own specialized action.

On 23/12/2013 4:45 AM, javs javs wrote:
> hello friends,
>
> I'm trying to run an ant task that contains a target of emf.Ecore2Java, I try to run it from java but I get the following error:
>
> Problem: failed to create task or type emf.Ecore2Java
>
> pictures in this more specific
>
>

Re: EMF code generator [Error emf.Ecore2Java] [message #1223468 is a reply to message #1223440] Mon, 23 December 2013 13:30 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26287
Registered: July 2009
Senior Member
I'm not an expert on how to invoke ant tasks programatically so I can't
answer that and I'm not sure it's even possible or sensible.

On 23/12/2013 12:45 PM, javs javs wrote:
> friend you did not understand, how could I fix this?
>
> many thanks
>
>
>
>
>
> Ed Merks wrote on Mon, 23 December 2013 02:01
>> If you're trying to run the generator as a action in the IDE, you'd
>> be better to look at what the ant task does and do that directly in
>> your action. I don't know how you're supposed to invoke an ant task
>> programatically. You can also configure any project to automatically
>> run ant tasks during a build without needing your own specialized
>> action.
>>
>> On 23/12/2013 4:45 AM, javs javs wrote:
>> > hello friends,
>> >
>> > I'm trying to run an ant task that contains a target of
>> emf.Ecore2Java, I try to run it from java but I get the following error:
>> >
>> > Problem: failed to create task or type emf.Ecore2Java
>> >
>> > pictures in this more specific
>> >
>> >
>
>

On 23/12/2013 12:45 PM, javs javs wrote:
> friend you did not understand, how could I fix this?
>
> many thanks
>
>
>
>
>
> Ed Merks wrote on Mon, 23 December 2013 02:01
>> If you're trying to run the generator as a action in the IDE, you'd
>> be better to look at what the ant task does and do that directly in
>> your action. I don't know how you're supposed to invoke an ant task
>> programatically. You can also configure any project to automatically
>> run ant tasks during a build without needing your own specialized
>> action.
>>
>> On 23/12/2013 4:45 AM, javs javs wrote:
>> > hello friends,
>> >
>> > I'm trying to run an ant task that contains a target of
>> emf.Ecore2Java, I try to run it from java but I get the following error:
>> >
>> > Problem: failed to create task or type emf.Ecore2Java
>> >
>> > pictures in this more specific
>> >
>> >
>
>
Previous Topic:[XCore] extending XCore
Next Topic:Download pages are not displayed correctly
Goto Forum:
  


Current Time: Sun Dec 21 14:39:15 GMT 2014

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

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