ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From crashmeister <nabble2...@3dpilots.com>
Subject Re: Blocking an extended configuration
Date Fri, 16 Jan 2009 16:52:56 GMT



Mmm, OK. New user here - I was just using the default that came with IVY.

I'll try the mods, but it would still be nice to have an exception process.



Archie Cobbs-3 wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Blocking-an-extended-configuration-tp21502769p21503615.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message