You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/16 22:46:23 UTC

[jira] [Resolved] (IVY-781) The retrieve task should allow to preserve directory structure reflected in organisation's dotted notation

     [ https://issues.apache.org/jira/browse/IVY-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-781.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0-RC1
         Assignee: Maarten Coene

There will be the token [orgPath] in version 2.3.0 which can be used for this purpose.
                
> The retrieve task should allow to preserve directory structure reflected in organisation's dotted notation
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: IVY-781
>                 URL: https://issues.apache.org/jira/browse/IVY-781
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Carlton Brown
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.3.0-RC1
>
>
> For any publish-capable m2compatible resolver, <ivy:publish> will map dotted notation into a nested directory structure.   
> Currently, <ivy:retrieve> does not behave the same way.   When you retrieve an artifact with organisation org.ivy.foo, it retrieves into a directory named org.ivy.foo.   
> For consistency, it should map to a directory structure like org/ivy/foo the same way as <ivy:publish> does.   I think this should be the default behavior.   If someone decides they want it flattened, there could be an attribute flattenOrgNamespace or some such.
> This could be either a bug or an improvement, but I decided it was inconsistent and non-intuitive for publish and retrieve to handle dotted notation differently, so it could be considered a bug.  WDYT?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira