Hi all,

 

I have a target which is invoked many times during a build, called mk.pia.

 

I’ve found an inconsistency in the way the depends attribute and the depends task work (ie, the documentation for the depends tasks says it should be the same, but it isn’t). If I have:

 

      <target name="mk.pia" depends="gentypelib">

           

 

doing,

 

      <target name="mk.pia" >

            <depends on="gentypelib" />

 

does not produce the same result.

 

In the first case, my dependent target will get run every time, as I’d expect, whenever mk.pia is run, but in the second case, the dependent target is invoked once, but never again, no matter how many times mk.pia is run.

 

Regards,

Nick.

Reply via email to