ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: reassigning property values?
Date Mon, 30 Oct 2000 09:09:04 GMT
>>>>> "CT" == Charles Tewksbury <> writes:

 CT> I don't know why but all my build files just seemed to go in the
 CT> toilet when I upgraded to 1.2 (I doubt I was doing them correctly
 CT> to start with but...)  Is anybody else experiencing upgrade
 CT> nightmares?

The only reason I can think of is

<target name="init">
  <property name="foo" value="bar" />

<target name="main">
  <echo message="${foo}" />

where you had relied on the property task in target init to be called,
even if it was not on your dependency list. Adding depends="init" to
the main target should fix it. The only change to properties between
1.1 and 1.2 is that <property> is not executed independent of the
target dependencies anymore.


View raw message