ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Widmer <tom.wid...@googlemail.com>
Subject Re: "all confs except x" in ivy.xml
Date Tue, 29 Sep 2009 11:01:45 GMT
Willem Verstraeten wrote:
> Hello,
> 
> Is it possible in the ivy.xml file to declare a dependency that should
> be included in all configurations except a single one. For instance,
> something like
> 
> <dependency org="mycorp.com" module="common" conf="*, !external" />

That looks right.
"since 1.4 you can use * wildcard followed by negated configurations to 
mean all but xxx. For instance, '*, !A, !B -> X' means that X dependency 
configuration is required in all master configurations except A and B."
See 
http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html

Tom


Mime
View raw message