ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ExtensionPoints + Dependencies
Date Tue, 17 Aug 2010 07:27:26 GMT
On 2010-08-17, <> wrote:

> If I have a buildfile with extension points and their extensions, I
> think I would be able to run the extensions as part of the whole build
> via extension-points and directly. But if I run the target directly I
> would think, that dependencies are also executed, but they are not.

I really needed your example to understand what you are after 8-)

> <project default="C">
>     <echo>Ant-Version ${ant.version}</echo>
>     <target name="A"/>
>     <extension-point name="B" depends="A"/>
>     <target name="C" extensionOf="B"/>
> </project>

You expect Ant to execute A if you ask it to execute C, right?

> Is this forgotten or am I wrong?

IMHO you are wrong.  extensionOf adds C to the depends list of B but
doesn't change anything for C itself.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message