DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4884>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4884

Dependant targets fire unnecessarily

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2001-11-15 00:28 -------
For better or worse that is the way ant is designed to operate. The dependent 
targets (ie "something") are always processed *before* the dependee (ie 
"test") is processed and before dependee checks if/unless attributes. This is 
designed so that the dependent can set up conditions under which dependee may 
use.

ie

<target name="dependee" depends="dependent" if="property.is.set">
  <echo message="This will print"/>
</target>

<target name="dependent" >
  <property name="property.is.set" value="aValue"/>
</target>

dependee will always printout out "this will print"

If you believe this behaviour is wrong you can always make a case for changing 
it on mailing list and we will consider it for ant2.0 when we can break 
backwards compatability.

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

Reply via email to