ivy-retrieve failure when explicit absolute 'ivy.dep.file' path specified
-------------------------------------------------------------------------
Key: IVY-396
URL: https://issues.apache.org/jira/browse/IVY-396
Project: Ivy
Issue Type: Bug
Components: Ant
Affects Versions: 1.4.1
Environment: JRE 1.5.0_04-b05, WinXP / Solaris 8
Reporter: easyproglife
I have specified explicit ivy.dep.file property with absolute path (starting
with ${basedir} that is absolute).
IvyRetrieve calls IveResolve (see stack trace below) during "ensureResolved()".
The problem is that IvyResolve.setFile() doesn't been call, and therefore, in
IvyResolve.java:164, the basedir is prepanded to the 'ivy.dep.file' again and
this leads to invalid path like:
M:\myproj\M:\myproj\build-def\ivy.xml (assuming my basedir is 'm:\myproj').
I must mention that I am already calling ivy-resolve before ivy-retrieve so
there is no real need to recall ivy-resolve. I would expect ivy-ant to
"remember" that resolve has been called (with whatever file I gave it) and not
to recall resolve during ensureResolved().
On the other hand, I think line 164 of IvyResolve.java (where file assumed to
be relative to basedir) must also be fixed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.