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

Error messages on use of relative paths can be cyrptic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0-RC1
    • 2.0-RC2
    • None
    • None

    Description

      Use of a relatrive path (file system resolver, keyfile for sftp) results in a message like:

      BUILD FAILED
      c:\home\afs\Projects\TDB\build-lib.xml:357: impossible to configure ivy:settings with given file: c:\home\afs\Projects\TDB\ivysettings.xml : java.text.ParseException: failed to load settings from file:/c:/home/afs/Projects/TDB/ivysettings.xml: impossible to convert /home/afs/.ssh/ivy-pub-jena-key to class java.io.File for setting keyFile on class org.apache.ivy.plugins.resolver.SFTPResolver

      A more direct statement that "keyFile=" is realtive would be helpful

      (in the example, this is MS Windows - an absolute file name must have a drive letter).

      Attachments

        Activity

          People

            maartenc Maarten Coene
            seaborne Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: