ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Problem creating a task to generate java from an EMF model
Date Mon, 30 Oct 2006 07:54:47 GMT
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 <anne.robert@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


Mime
View raw message