ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlton Brown (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-781) The retrieve task should preserve directory structure reflected in organisation's dotted notation
Date Wed, 19 Mar 2008 17:58:24 GMT
The retrieve task should 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: Bug
          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.


Mime
View raw message