ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From efe4itcc <>
Subject IvyRoundup: Problem with packager resolver
Date Tue, 08 Sep 2009 21:52:31 GMT


When using packager resolver and ivyroundup for resource that must be
downloaded manually (for instance oracle jdbc driver) I get a

The files are copied from to the packager build dir as
described here:

<resource tofile="artifacts/jars/ojdbc14.jar"

The URLs is this file won't work on Windows, as they should be in the
following form: file:///${}  (3 dash instead of 2)

This will work on Windows (result value is
I do not have a UNIX box to check if it still works (result value would be
"file:////tmp"), but I doubt so having read the following references

1/  on

"However, the spec for File.toURI is very clear that for a file URL, the
authority component is null"  

2/ on page 16

 When authority is not present, the path cannot begin with two slash
   characters ("//")

The following are two example URIs and their component parts:

         \_/   \______________/\_________/ \_________/ \__/
          |           |            |            |        |
       scheme     authority       path        query   fragment
          |   _____________________|__
         / \ /                        \

Looks like using the syntax url="file://${}" will either work
on unix or on windows.
If I am not mistaken, it would be better to write
url="${}" in the packager.xml file and let the
user define the appropriate value.


View this message in context:
Sent from the ivy-user mailing list archive at

View raw message