ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] Created: (IVY-1240) Only the last dependency descriptor is taken into account on the same module
Date Thu, 21 Oct 2010 16:20:16 GMT
Only the last dependency descriptor is taken into account on the same module
----------------------------------------------------------------------------

                 Key: IVY-1240
                 URL: https://issues.apache.org/jira/browse/IVY-1240
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Nicolas Lalevée


In some of our project we had:
{code:xml}
<dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf1" />
<dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf2" />
<dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf3" />
{code}
When resolving dependencies with the conf "*", the resulting "compile" conf report did contain
dependencies of the conf1, conf2 and conf3 of mymodule. But the resulting "runtime" conf report,
contained only the configuration of conf3 of mymodule.

Changing the dependency into the following one fixed it:
{code:xml}
<dependency org="org" name="mymodule" rev="1.0" conf="compile,runtime->conf1,conf2,conf3"
/>
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message