ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: ExtensionPoints + Dependencies
Date Wed, 18 Aug 2010 06:45:12 GMT
>IMHO you are wrong.  extensionOf adds C to the depends list of 
>B but doesn't change anything for C itself.

So my target has to define the dependencies for itself.

I changed the names to more meaningful ones:

<project default="build">
    <echo>Ant-Version ${ant.version}</echo>

    <target name="init-ivy">
        <echo>Initialize Ivy (download ivy.jar, taskdef ...)</echo>

    <extension-point name="metrics" depends="init-ivy"/>

    <target name="build" depends="metrics">
        <echo>Full Build</echo>

    Have to define the dependency so you could run this target
    directly from command line, outside of a "full build"
    <target name="checkstyle" extensionOf="metrics" depends="init-ivy">
        <echo>Ivy-Cachepath for downloading CS, taskdef it</echo>
        <echo>Running Checkstyle...</echo>


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

View raw message