Your right, the problem was the use of abstract class.
Thank a lot for your help.
[EMAIL PROTECTED] 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:[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
------------------------------------------------------------------------
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: [EMAIL PROTECTED]
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]