You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Johannes Stamminger (JIRA)" <ji...@apache.org> on 2007/07/02 06:58:04 UTC

[jira] Created: (IVY-552) Support useOrigin in IvyCacheFileset

Support useOrigin in IvyCacheFileset
------------------------------------

                 Key: IVY-552
                 URL: https://issues.apache.org/jira/browse/IVY-552
             Project: Ivy
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.4.1
            Reporter: Johannes Stamminger
             Fix For: 1.4.2, 2.0


When using IvyCacheFileset currently with the useOrigin set to true, on resolving it is thrown an UnsupportedOperationException with the message: the cachefileset task does not support the useOrigin mode, since filesets require to have only one root directory. Please use the the cachepath task instead.

Instead of throwing this exception I would propose to be able to configure the missing root directory that has to be common to all local artifacts to be resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-552) Support useOrigin in IvyCacheFileset

Posted by "Johannes Stamminger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johannes Stamminger updated IVY-552:
------------------------------------

    Attachment: ivy-1.4.1-patch20070629

Patch implementing feature to our needs based on sources of 1.4.1 release.

> Support useOrigin in IvyCacheFileset
> ------------------------------------
>
>                 Key: IVY-552
>                 URL: https://issues.apache.org/jira/browse/IVY-552
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Johannes Stamminger
>             Fix For: 1.4.2, 2.0
>
>         Attachments: ivy-1.4.1-patch20070629
>
>
> When using IvyCacheFileset currently with the useOrigin set to true, on resolving it is thrown an UnsupportedOperationException with the message: the cachefileset task does not support the useOrigin mode, since filesets require to have only one root directory. Please use the the cachepath task instead.
> Instead of throwing this exception I would propose to be able to configure the missing root directory that has to be common to all local artifacts to be resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-552) Support useOrigin in IvyCacheFileset

Posted by "Johannes Stamminger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509500 ] 

Johannes Stamminger commented on IVY-552:
-----------------------------------------

I saw IVY-399 dealing with the caching, too. I did not fully understand the intended changes there but one of our reasons for using useOrigin is that with that flag set to true all artifacts names keep as they are when being used from the fileset. Otherwise the names are changed to a configured pattern.

> Support useOrigin in IvyCacheFileset
> ------------------------------------
>
>                 Key: IVY-552
>                 URL: https://issues.apache.org/jira/browse/IVY-552
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Johannes Stamminger
>             Fix For: 1.4.2, 2.0
>
>         Attachments: ivy-1.4.1-patch20070629
>
>
> When using IvyCacheFileset currently with the useOrigin set to true, on resolving it is thrown an UnsupportedOperationException with the message: the cachefileset task does not support the useOrigin mode, since filesets require to have only one root directory. Please use the the cachepath task instead.
> Instead of throwing this exception I would propose to be able to configure the missing root directory that has to be common to all local artifacts to be resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-552) Support useOrigin in IvyCacheFileset

Posted by "Johannes Stamminger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johannes Stamminger updated IVY-552:
------------------------------------

    Attachment: ivy-1.4.1-patch20070914-IvyCacheFileset

Updated patch for supporting useOrigin attribute: previous version failed on having configured a root dir

> Support useOrigin in IvyCacheFileset
> ------------------------------------
>
>                 Key: IVY-552
>                 URL: https://issues.apache.org/jira/browse/IVY-552
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Johannes Stamminger
>             Fix For: 1.4.2, 2.0
>
>         Attachments: ivy-1.4.1-patch20070629, ivy-1.4.1-patch20070914-IvyCacheFileset
>
>
> When using IvyCacheFileset currently with the useOrigin set to true, on resolving it is thrown an UnsupportedOperationException with the message: the cachefileset task does not support the useOrigin mode, since filesets require to have only one root directory. Please use the the cachepath task instead.
> Instead of throwing this exception I would propose to be able to configure the missing root directory that has to be common to all local artifacts to be resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (IVY-552) Support useOrigin in IvyCacheFileset

Posted by "Johannes Stamminger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509497 ] 

Johannes Stamminger edited comment on IVY-552 at 7/2/07 12:00 AM:
------------------------------------------------------------------

 ivy-1.4.1-patch20070629: Patch implementing feature to our needs based on sources of 1.4.1 release.


 was:
Patch implementing feature to our needs based on sources of 1.4.1 release.

> Support useOrigin in IvyCacheFileset
> ------------------------------------
>
>                 Key: IVY-552
>                 URL: https://issues.apache.org/jira/browse/IVY-552
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Johannes Stamminger
>             Fix For: 1.4.2, 2.0
>
>         Attachments: ivy-1.4.1-patch20070629
>
>
> When using IvyCacheFileset currently with the useOrigin set to true, on resolving it is thrown an UnsupportedOperationException with the message: the cachefileset task does not support the useOrigin mode, since filesets require to have only one root directory. Please use the the cachepath task instead.
> Instead of throwing this exception I would propose to be able to configure the missing root directory that has to be common to all local artifacts to be resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.