You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by anne robert <an...@imag.fr> on 2006/11/07 11:38:34 UTC
Re: [resolved]AW: Problem creating a task to generate java from an
EMF model
Your right, the problem was the use of abstract class.
Thank a lot for your help.
Jan.Materne@rzf.fin-nrw.de wrote:
> I googled a bit ...
>
> You said you have [1] a taskdef
> <taskdef name="emfGen" classname="org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask"
>
> But this is an abstract class [2]. Maybe try org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask instead [3].
>
>
>
> Jan
>
>
> [1] http://marc.theaimsgroup.com/?l=ant-user&m=116192063731748&w=2
> [2] http://download.eclipse.org/tools/emf/2.2.1/javadoc/org/eclipse/emf/ant/taskdefs/codegen/ecore/GeneratorTask.html
> [3] http://download.eclipse.org/tools/emf/2.2.1/javadoc/org/eclipse/emf/importer/ecore/taskdefs/EcoreGeneratorTask.html
>
>
>
>>-----Ursprüngliche Nachricht-----
>>Von: Dominique Devienne [mailto:ddevienne@gmail.com]
>>Gesendet: Sonntag, 29. Oktober 2006 01:12
>>An: Ant Users List
>>Betreff: Re: Problem creating a task to generate java from an EMF model
>>
>>On 10/27/06, anne robert <an...@imag.fr> wrote:
>>
>>>here is the debug trace
>>
>>It appears that the class is loaded OK, yet you get an
>>exception when Ant calls the constructor for the task. Sorry,
>>but I don't know why.
>>Are you sure this is a valid task? --DD
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>>additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
--
------------------------------------------------------------------------
Anne Robert | tel : (+33) (0)4 56 52 04 44
VERIMAG | fax : (+33) (0)4 56 52 03 44
Centre Equation |
F - 38610 Gieres | e-mail: Anne.Robert@imag.fr
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org