Uploaded image for project: 'IvyDE'
  1. IvyDE
  2. IVYDE-96

IvyDE does not honour the "validate" Attribute in a ivysetting file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 2.0.0.beta1
    • classpath container
    • None

    Description

      Parsing of ivy files that use custom attributes fail although validate is set to false in the used ivyconfiguration/setting.
      The Solutions is to change the two occurences of new ResolveOption in IvyResolveJob (Line 227, 240): add setValidate(ivy.getSettings().doValidate())

      ResolveReport r = ivy.resolve(md, new ResolveOptions()
      .setConfs((String[]) conf.confs
      .toArray(new String[conf.confs.size()])).setValidate(ivy.getSettings().doValidate()));

      Attachments

        1. problem-ivy.xml
          0.4 kB
          Martin Eigenbrodt
        2. ivysettings.xml
          0.5 kB
          Martin Eigenbrodt
        3. ivy.xml
          0.4 kB
          Martin Eigenbrodt
        4. build.xml
          1 kB
          Martin Eigenbrodt

        Activity

          People

            hibou Nicolas Lalevée
            martineigenbrodt Martin Eigenbrodt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: