cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: New TagLib, votes please
Date Wed, 08 Nov 2000 08:47:20 GMT
>>>>> "JQ" == Jeremy Quinn <> writes:

 JQ> Does anyone know if it is possible to set up a dual class
 JQ> dependency for conditional compilation in the version of Ant used
 JQ> for Cocoon1?

Yes, use a dummy target in between

<target name="check1">
  <available property="" classname="package1.class" />

<target name="check2" depends="check1" if="">
  <available property="both.are.there" classname="package2.class" />

and make sure you are using Ant 1.2alpha2 or later.

We could start a discussion on whether the limitation inside Ant to
allow for only one property in if/unless is to hard, but I think this
is not the place to do so.


View raw message