ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Furs <>
Subject Improvement: preserve (keep) dependency configuration when conf mapping (e.g.) "->" is used
Date Mon, 22 Sep 2014 11:39:33 GMT
Hi, All!

I'm using conf's to retrieve libraries into different subdirectories of
"lib" directory, for example, "common->runtime" or "build->common".
Currently, during resolution process, conf of dependency is replaced with
conf of dependee. In some cases, e.g. for servlet-api.jar, it is
undesirable to have servlet-api.jar retrieved into "common" or "runtime".

The idea is to add optional "keepDepConf" attribute for conf mapping having
"false" as default value to not affect existing ivy.xml files. When
"keepDepConf" is set to "true" then conf of dependency is preserved (not

Please find attached diff file against Ivy 2.4.0-rc1, which contains code
and documentation changes as well as unit test. I would ask contributors to
include these changes into Ivy codebase.

Best regards,

View raw message