ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@seessle.de>
Subject Re: if/unless at the task level?
Date Mon, 02 Oct 2000 07:14:34 GMT
----- Original Message -----
From: <pjdonald@cs.latrobe.edu.au>
To: <ant-dev@jakarta.apache.org>
Sent: Monday, October 02, 2000 8:00 AM
Subject: Re: if/unless at the task level?


> I don't think it makes sense conceptually. Targets are units
> of work in building a dependancy system.

And it make sense conceptually to be required to define targets like these?

  <target name="vssHistoryAndLabel" unless="vss.result">
    <antcall target="vssHistoryAndLabel-dummy"/>
  </target>

  <target name="vssHistoryAndLabel-dummy" unless="local">
    <someWorkHere/>
  </target>

These aren't 'units of work', these are ugly hacks to check for two
properties...

Nico



Mime
View raw message