Here's what I've found using debugger :

In AntTag.doTag (jelly-ant), the getBodyText method is used to get the body content of any Ant tag. BUT this method executes any ant Tag inside the body.

As Far As I've understood Ant tasks, body of a TaskContainer task SHOULD be executed by the conatiner itself.

Or did I miss something ?

Any suggestion is welcome.

Nico

Nicolas De Loof a écrit :


Hi all,

I repost my question, perhaps my first mail was not understood.

I'm writing a custom maven plugin that uses custom ant task. One is a TaskContainer ans two others ones are simple Task. They must be nested in the container task to share datas.

When I run my plugin using maven, my two "simple" task run and AFTER THAT the container task is run. Container addTask method is not called.

Is they're something special about maven and nested Task ?

Nico.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to