ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject ExtensionPoints + Dependencies
Date Tue, 17 Aug 2010 03:49:53 GMT
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.

Is this forgotten or am I wrong?


Jan

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

C:\TEMP\ant-test>ant
Buildfile: C:\TEMP\ant-test\build.xml
     [echo] Ant-Version Apache Ant version 1.8.1 compiled on April 30
2010

C:

BUILD SUCCESSFUL
Total time: 1 second
C:\TEMP\ant-test>ant B
Buildfile: C:\TEMP\ant-test\build.xml
     [echo] Ant-Version Apache Ant version 1.8.1 compiled on April 30
2010

A:

C:

B:

BUILD SUCCESSFUL
Total time: 0 seconds

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message