ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrik Nagel" <>
Subject Define dependency with set of valid configurations
Date Mon, 05 Oct 2009 08:26:14 GMT

Is there a way in Ivy to define a dependency with a set of valid configurations? In other
words, I try to express that module X in configuration 'src' depends on module Y in configuration
'src_1' OR in configuration 'src_2' OR in configuration 'src_3'? Thus, module X depends on
Y but can use any of the three defined configurations of Y.

The Ivy file for module X would look like as follows:
(Note that I used a kind of regular expression in the conf mapping to explain my requirement)

  <conf name="src"/>

  <dependency org="myOrg" name="Y" conf="src->(src_1|src_2|src_3)" rev="1.4.0"/>

Thanks in advance,
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!*

View raw message