On 2010-08-17, <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]