done. At 11:59 20/4/01 -0700, J.D. Fagan wrote: >I submitted the below suggestion a few days ago without realizing that I was >late in requirements submission (I just joined this mailing list). Anyways, >just wanted to re-submit so you can record/add it to your requirements doc >under section "VI. entries that have been submitted too late". > >JD > >--Feature suggestion for Ant 2.0 (or later)-- > >Would be cool to have recursive property resolution built in to Ant tool. >Best to illustrate with this contrived example: > ><project name="suggestion" default="anthill" basedir="."> > <property name="name" value="foobar"/> > <property name="dist.${name}.dir" value="dist/${name}"/> > > <target name="anthill"> > <!-- normal property resolution --> > <echo message="name = ${name}"/> > > <!-- recursive property resolution (inside-out) --> > <echo message="dist.${name}.dir = ${dist.${name}.dir}"/> > </target> ></project> > >Ideally, the following output is desired from "ant anthill" command on this >project: > >anthill: > [echo] name = foobar > [echo] dist.foobar.dir = dist/foobar > >Currently, ant will yield this undesired output: > >anthill: > [echo] name = foobar > [echo] dist.foobar.dir = ${dist.${name}.dir} > > Cheers,
Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*