Maybe I missed this in all the debate, but...

Peter Donald wrote:

> 2. Are properties mutable or immutable?

Can't we resolve this by having properties, which are by nature
immutable, and variables, which by nature ARE mutable.?

I.e.

  <property name="version" value="2.1" />
  <property name="base" value="/project/release" />

  <variable name="install_dir" value="${base}/jrun/${version} />

     do some work...using ${install_dir} as needed.

  <variable name="install_dir" value="${base}/websphere/${version} />

     do some more work..using ${install_dir} as needed.

  <variable name="install_dir" value="${base}/tomcat/${version} />

     do some more work..using ${install_dir} as needed.

Properties would NOT be override in build files called from a build
file, but variables could be.

Reply via email to