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 "Maarten Coene (JIRA)" <ji...@apache.org> on 2007/09/20 21:36:50 UTC

[jira] Assigned: (IVY-601) Ivy settings include -tag url attribute does not work correctly

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

Maarten Coene reassigned IVY-601:
---------------------------------

    Assignee: Maarten Coene

> Ivy settings include -tag url attribute does not work correctly
> ---------------------------------------------------------------
>
>                 Key: IVY-601
>                 URL: https://issues.apache.org/jira/browse/IVY-601
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Tero Vaananen
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.0
>
>
> The include tag behaves strangely when it is used two or more times. The url attribute should take a valid URL but it fails after the first include definition. It is possible to make it work by removing the protocol from the second include URL. This is an easy workaround but it does not work in the included settings files themselves. You can then no longer reuse the included files as main level settings files because they break with bad URLs.
> <ivysettings>
>     <settings defaultResolver="main"/>
>     
>     <include url="file:${ivy.conf.dir}/ivy-personal-resolver.xml"/>
>     <!-- For some strange reason, the file: protocol can not be put to second include. -->
>     <include url="${ivy.conf.dir}/ivy-shared-resolver.xml"/>
> </ivysettings>

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