ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georges Labrèche <>
Subject Ivy does not correctly interpret spacing in project path.
Date Mon, 08 Jun 2009 17:01:38 GMT

Using NAnt I am execute ivy through the command line interface (CLI) like so:

-jar ${ivy.jar} -sync -retrieve ${lib.dir}/[artifact]-[revision].[ext] -ivy ${ivy.dir}/ivy.xml
-settings ${ivy.dir}/ivysettings.xml

Which results in executing the following ivy command:

-jar tools\ivy\ivy.jar -sync -retrieve C:\Dev\The Project Folder/lib/[artifact]-[revision].[ext]
-ivy ivy/ivy.xml -settings ivy/ivysettings.xml

Which results in the following error message:

ivy file not found: ivy.xml

This is because of the spacing in "The Project Folder". 
Because of the spacing, ivy ends up looking in the following path with "%20" in it:


And of course, the "The%20Project%20Folder" folder does not exist.

If I eliminate spacing, then it works:

-jar tools\ivy\ivy.jar -sync -retrieve C:\Dev\TheProjectFolder/lib/[artifact]-[revision].[ext]
-ivy ivy/ivy.xml -settings ivy/ivysettings.xml

My question is, how do I tell ivy to properly interpret spacing in the project path?

Thanks and regards,

 - Georges

View raw message