[
https://issues.apache.org/jira/browse/IVY-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xavier Hanin updated IVY-781:
-----------------------------
Issue Type: Improvement (was: Bug)
Summary: The retrieve task should allow to preserve directory structure
reflected in organisation's dotted notation (was: The retrieve task should
preserve directory structure reflected in organisation's dotted notation)
I change this to an improvement, and change the title to reflect that it should
only be an option. I also think that it shouldn't be the default. In many cases
retrieve is used in a single project, where splitting organizations in nested
directories has not the same effect as is in a repository, where scalability
can be an issue. So I personnally prefer to keep flat directories during
retrieve. Another argument is that it would break backward compatibility, which
we try to avoid most of the time.
> 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
> Components: Ant
> Affects Versions: 2.0.0-beta-2
> Reporter: Carlton Brown
> Priority: Minor
>
> 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.
-
You can reply to this email to add a comment to the issue online.