You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2008/09/17 11:57:44 UTC
[jira] Created: (IVY-909) Error messages on use of relative paths
can be cyrptic
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.
[jira] Commented: (IVY-909) Error messages on use of relative paths
can be cyrptic
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632421#action_12632421 ]
Maarten Coene commented on IVY-909:
-----------------------------------
I've extended the error message a bit so that the reason for the failure is also logged, you should see now:
{noformat}
BUILD FAILED
C:\projects\ivy\trunk\build.xml:43: impossible to configure ivy:settings with gi
ven file: C:\projects\ivy\trunk\ivysetting-publish.xml : java.text.ParseExceptio
n: failed to load settings from file:/C:/projects/ivy/trunk/ivysetting-publish.x
ml: impossible to convert /test to class java.io.File for setting keyFile on cla
ss org.apache.ivy.plugins.resolver.SshResolver: ssh.keyFile must be absolute: /t
est
{noformat}
What do you think?
> 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.
[jira] Updated: (IVY-909) Error messages on use of relative paths
can be cyrptic
Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated IVY-909:
------------------------------
That error message is much clearer.
> 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.
[jira] Resolved: (IVY-909) Error messages on use of relative paths
can be cyrptic
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-909.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.x
Assignee: Maarten Coene
> 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
> Assignee: Maarten Coene
> Priority: Minor
> Fix For: 2.0.x
>
>
> 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.
[jira] Updated: (IVY-909) Error messages on use of relative paths
can be cyrptic
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-909:
------------------------------
Fix Version/s: (was: 2.0.x)
2.0-RC2
> 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
> Assignee: Maarten Coene
> Priority: Minor
> Fix For: 2.0-RC2
>
>
> 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.