Is it also possible to do this without specifying a mapping ? Ie. I
have a defaultconfmapping setup in the configurations section of the
ivy.xml file, so in the dependency I just want to specify

<dependency org="mycorp.com" module="common" conf="*, !external" />

Ie. only the names of the confs, without the arrow.

This does not seem to work in 2.1.0-rc2, but perhaps I am missing something ?

Willem

2009/9/29 Tom Widmer <[email protected]>:
> 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
>
>

Reply via email to