Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-601

Ivy settings include -tag url attribute does not work correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha-2
    • 2.0.0-beta-1
    • Core
    • None

    Description

      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>

      Attachments

        Activity

          People

            maartenc Maarten Coene
            tvaananen Tero Vaananen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: