I think the problem lies in the fact the you are too
deep before you decide to check whether you should be
here or not.

In you example:
   <target name="bake" depends="getFlour, getMilk,
> getYeast etc.."
> if="user.hungry">

I would expect that the "bake" target would have been
called from a higher task which would make the
check...i.e.

   <target name="need.a.meal" depends="shopping, bake,
cut" if="user.hungry">

And that the lower level tasks (shopping, bake, cut)
don't have the if check becuase by the time you
starting to bake something you should already known if
you are hungry :-)

Later,

Ninju



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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

Reply via email to