ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ext-simon.stei...@nokia.com>
Subject antcall
Date Mon, 25 Oct 2010 15:41:48 GMT
Hi,

How come if I call test-1, test-3 doesn't print ref2?

    <path id="ref1">
        <fileset dir="C:\Documents and Settings\x\Desktop " includes="a.xml" />
    </path>
    <path id="ref2">
        <fileset dir="C:\Documents and Settings\x\Desktop " includes="b.xml" />
    </path>

    <target name="test-1">
        <antcall target="test-2" inheritRefs="true">
            <reference refid="ref2" torefid="ref1" />
        </antcall>
    </target>

    <target name="test-2">
        <antcall target="test-3" inheritRefs="true"/>
    </target>
    
    <target name="test-3">
        <echo>${toString:ref1}</echo>
    </target>

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message