Error messages on use of relative paths can be cyrptic
------------------------------------------------------
Key: IVY-909
URL: https://issues.apache.org/jira/browse/IVY-909
Project: Ivy
Issue Type: Improvement
Affects Versions: 2.0-RC1
Reporter: Andy Seaborne
Priority: Minor
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).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.