ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Ivanova" <>
Subject Property attributes
Date Mon, 11 Feb 2002 15:33:21 GMT
Is it possible to set property name and values as parameters. e.g.:

<property name="${demoname}.bld" value="build/${demoname}.bld" />

I have the following build file:

<project name="Embserver Demos" default="all"
        <target name="define" >
            <property name="${demoname}.bld" value="build/${demoname}" />
        <target name="define1" >
            <antcall target="define">
                <param name="demoname" value="ftpconsole"/>
        <target name="init" depends="define1">
          <mkdir dir="${ftpconsole.bld}" />

and I receive this output:

"Build sequence for target `define' is [define]
Complete build sequence is [define, define1, init]

Setting project property: ftpconsole.bld -> build/ftpconsole

Property ${ftpconsole.bld} has not been set"

i.e. I can not use the property "ftpconsole.bld" ..? I get a dir named
"${ftpconsole.bld}", not "build/ftpconsole".

I'm using ANT 1.4.1

Best regards,
Maria Ivanova

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

View raw message