ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Meakin" <>
Subject condition logic in XML
Date Fri, 17 May 2002 13:18:01 GMT

Im finding it quite frustrating using a whole load of condition logic in
<and>, <or>, <not>, <equals>, <available>, <property>
tags etc.. just to
work out
whether or not tasks should be executed (and specifically, parts of tasks,
which I
dont seem to be able to do, so I have to split up "tasks" into mini-tasks so
I can
use the {if=""} and {unless=""} attributes on them.. this multiplies the
number of
tasks I've got hugely) Is there an easier way to do this at the moment? If
would it worth be writing one- something like:

<if conditions="${prop1}=${prop2},${prop3}=${prop4}">
  <...  do stuff ...>

Should this message have gone to ant-dev instead?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message