While trying to write an ANT version of the 99 bottles of beer program, I've got stuck 
with the pathological immutable properties problem.

I really seem to have missed something here;

When the following build snippet is executed, 

  <target name="test">
    <property name="p" value="ppp"/>
    <echo>p=${p}</echo>
    <antcall target="test2" inheritAll="false">
      <param name="p" value="aaa"/> 
    </antcall> 
  </target>

  <target name="test2">
    <echo>p=${p}</echo>
    <antcall target="test3" inheritAll="false">
      <param name="p" value="bbb"/> 
    </antcall> 
 
  </target>

  <target name="test3">
    <echo>p=${p}</echo>
 
  </target>


I get the output

test:
     [echo] p=ppp

test2:
     [echo] p=aaa

test3:
     [echo] p=aaa


Why isn't the last p value bbb?

This is ant 1.4.1




This message was sent through MyMail http://www.mymail.com.au



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to