ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfc <>
Subject getting Ant to see a loaded property
Date Wed, 11 Sep 2002 15:09:31 GMT

I am running Apache Ant version 1.5 compiled on July 9 2002 and I am 
having a problem with getting ant to see a loaded property as specified 
in a file.

The first echo shows the contents of the property but the second echo is 
never reached.

    <target name="sometarget">
        <echo message="${authentication.realm.props}" />
        <antcall target="prepare-auth-props" />

    <target name="prepare-auth-props" if="${authentication.realm.props}">
        <echo message="inside prepare-auth-props!" />
                <copy   file="${project.home}/etc/" 
                <copy   file="${project.home}/etc/" 

The docs have this to say in <antcall>'s description:

    'Call another target within the same build-file optionally 
specifying some properties (param's in this context)

    By default, all of the properties of the current project will be 
available in the new project. ... '

Any help would be much appreciated.


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

View raw message