ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Maintaining dependencies across antcalls
Date Tue, 03 Sep 2002 15:33:22 GMT
Replicating Peter's proposal? Great!!!

Please do not forget to add if/unless/ifTrue/os/osfamily attributes please.

Also, would it work with ant-contrib's <if> (thus not requiring the
attributes mentioned above)? Like in:

<target name="foo">
  <do-something />
  <depends target="bar" />
  <if>
    <condition>
      <istrue value="${bar-did-something}" />
    </condition>
    <then>
      <depends target="baz" />
    </then>
  </if>
</target>

BTW, I find that having <isset property="x"/> and <istrue value="${x}"/> is
confusing, and the issue came up on the list at least once. Couldn't we have
simply a <istrue property="x"/> as well? --DD

-----Original Message-----
From: Nicola Ken Barozzi [mailto:nicolaken@apache.org] 
Sent: Tuesday, September 03, 2002 1:56 AM
To: Ant Users List
Subject: Re: Maintaining dependencies across antcalls


Laurie Harper wrote:
> Erm, yes, that's the point. I want to be able to declare my dependencies
> (for example, so that I can expect 'ant worker' to work as well as 'ant
> master') without getting required targets executed repeatedly.

Understand, you need an inner <depends target=""/> tag.

I've almost finished it (fixing a but), and will submit it soon, stay 
tuned :-)


-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message