On 2010-08-17, <jan.mate...@rzf.fin-nrw.de> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to