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

Environment properties in ivy settings are no longer resolved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-RC1
    • 2.0-RC2
    • None
    • None

    Description

      I have an ivy.settings.xml file published on an intranet http server, which includes a property file from the same http server. (see attached files). This property file includes the property:

      ivy.cache.dir                     = ${env.IVY_CACHE_DIR}

      This environment based property is no longer resolved when I use the proposed ivy-2.0.0-rc1.jar. This leads to the following error during resolve:

      ivy.check:
      ivy.init:
          [mkdir] Created dir: D:\ws\eclipse-3.4\AAD\AAD-domain-model\target\reports\ivy
      ivy.resolve:
      [ivy:resolve] :: Ivy 2.0.0-rc1 - 20080916082609 :: http://ant.apache.org/ivy/ ::
      :: loading settings :: url = http://172.30.247.68/ivy-settings/ivy.settings.xml
      
      BUILD FAILED
      D:\ws\eclipse-3.4\AAD\build\build-ivy\build.ivy.xml:75: java.lang.IllegalArgumentException: ivy.cache.dir must be absolute: ${env.IVY_CACHE_DIR}
      
      Total time: 2 seconds
      

      The same ivy settings files worked perfectly well with a previous ivy which I built from trunk: org.apache.ivy_2.0.0.rc1_20080813101604.jar

      Attachments

        1. IVY-907.zip
          2.11 MB
          Erik-Berndt Scheper
        2. ivysettings.zip
          1 kB
          Erik-Berndt Scheper

        Activity

          People

            maartenc Maarten Coene
            fbascheper Erik-Berndt Scheper
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: