ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Eigenbrodt (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-918) # does not work in defaultconfmapping for extenden configurations
Date Wed, 24 Sep 2008 06:47:44 GMT
# does not work in defaultconfmapping for extenden configurations
-----------------------------------------------------------------

                 Key: IVY-918
                 URL: https://issues.apache.org/jira/browse/IVY-918
             Project: Ivy
          Issue Type: Bug
          Components: Core
            Reporter: Martin Eigenbrodt


The "this" operator "#" does not work within defaultconfmapping. Consider the following example:
One would expect that

<ivy-module version="1.4">
<info organisation="me" module="ivy-test"/>
<configurations
{color:red}   defaultconfmapping="default->#"> {color}
   <conf name="default" visibility="public"/>
   <conf name="src" visibility="private" extends="*"/>
</configurations>

<dependencies>
   <dependency org="jgoodies" name="binding" conf="default" rev="2.0.4"/>
</dependencies>
</ivy-module>

is equivalent to 

<ivy-module version="1.4">
<info organisation="me" module="ivy-test"/>
<configurations>
   <conf name="default" visibility="public"/>
   <conf name="src" visibility="private" extends="*"/>
</configurations>

<dependencies>
   <dependency org="jgoodies" name="binding" {color:red} conf="default->#" {color} rev="2.0.4"/>
</dependencies>
</ivy-module>

But it's not. If you resolve the configuration src int the fist example you will recieve bindings
in configuration default.
In the second you will recieve it in configuration src.


-- 
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