Might you achieve the same thing with three configurations instead?

<conf name="base" visibility="private" />
<conf name="runtime" extends="base" />
<conf name="web" extends="base" />

On Tue, Jul 21, 2009 at 8:20 PM, Chris Nokes <[email protected]> wrote:

> Here's the confs for a module I depend on:
>     runtime
>     web extends runtime
>
> "runtime" represents the jars to be added to the EAR.
> "web" represents the compile classpath for the module.  Web must extend
> runtime because I want the jar set of runtime and web to be binary
> compatible and resolve conflicts.
>
> I would like to do the following in my target module:
> webPackaging->web,!runtime
>
>
> "webPackaging" represents the jars to be added to the WAR.  !runtime means
> do not add any jars from the runtime conf.
>
> Is there a way to do this with Ivy?
>
> Thanks,
> Chris Nokes
>
>
>
>

Reply via email to