You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Martin Eigenbrodt (JIRA)" <ji...@apache.org> on 2008/09/24 08:47:44 UTC

[jira] Created: (IVY-918) # does not work in defaultconfmapping for extenden configurations

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