ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anne robert <anne.rob...@imag.fr>
Subject Re: [resolved]AW: Problem creating a task to generate java from an EMF model
Date Tue, 07 Nov 2006 10:38:34 GMT
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 <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
> 
> 
> 


-- 
------------------------------------------------------------------------
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


Mime
View raw message