ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <archie.co...@gmail.com>
Subject Re: Blocking an extended configuration
Date Fri, 16 Jan 2009 16:28:00 GMT
Perhaps this issue is evidence that the "runtime" configuration should not
be extending the "compile" configuration... you may want to refine your
configurations.

-Archie

On Fri, Jan 16, 2009 at 10:12 AM, crashmeister <nabble2009@3dpilots.com>wrote:

>
> I have 'compile' and 'runtime' confs. Runtime extends Compile.
>
> Under certain circumstances, I want to use an artifact for compilation, but
> NOT for runtime.
>
> Is there any way to block the 'runtime' conf for a dependency ?
>
> I tried this but it did not work:
>
>  <dependencies>
>    ...
>    <dependency
>        org="oracle"
>        name="oraclexsql"
>        rev="${oracle.oraclexsql.version}"
>        conf="compile->*"
>        transitive="true"/>
>
>    <exclude org="oracle" conf="runtime"/>
>
>  </dependencies>
>
> --
> View this message in context:
> http://www.nabble.com/Blocking-an-extended-configuration-tp21502769p21502769.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


-- 
Archie L. Cobbs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message