ant-ivy-user mailing list archives

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

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.


Mime
View raw message