Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 18068 invoked from network); 8 Jun 2009 17:25:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jun 2009 17:25:25 -0000 Received: (qmail 46778 invoked by uid 500); 8 Jun 2009 17:25:36 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 46729 invoked by uid 500); 8 Jun 2009 17:25:36 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 46719 invoked by uid 99); 8 Jun 2009 17:25:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 17:25:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [64.20.9.51] (HELO stream57.com) (64.20.9.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 17:25:27 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9E85E.1099BEB9" Subject: Ivy does not correctly interpret spacing in project path Date: Mon, 8 Jun 2009 13:25:05 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ivy does not correctly interpret spacing in project path Thread-Index: AcnoXhBgEtjMnqmKQLWM5W4gQYfVOw== From: =?iso-8859-1?Q?Georges_Labr=E8che?= To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C9E85E.1099BEB9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Hello! =20 First of all, sorry for the double posting but it seems that there was a = mishap when I initially posted this message and it ended up in an = unrelated thread: = http://www.nabble.com/ivy.xml-into-ivy.default.ivy.user.dir-on-retrieve--= td23927242.html =20 Anyhow, here I go again: =20 Using NAnt I am execute ivy through the command line interface (CLI) = like so: =20 =20 -jar ${ivy.jar} -sync -retrieve ${lib.dir}/[artifact]-[revision].[ext] = -ivy ${ivy.dir}/ivy.xml -settings ${ivy.dir}/ivysettings.xml =20 =20 Which results in executing the following ivy command: =20 =20 -jar tools\ivy\ivy.jar -sync -retrieve C:\Dev\The Project = Folder/lib/[artifact]-[revision].[ext] -ivy ivy/ivy.xml -settings = ivy/ivysettings.xml =20 =20 Which results in the following error message: =20 ivy file not found: ivy.xml =20 =20 This is because of the spacing in "The Project Folder".=20 Because of the spacing, ivy ends up looking in the following path with = "%20" in it: =20 =20 C:/Dev/The%20Project%20Folder/tools/ivy/ivy.jar =20 And of course, the "The%20Project%20Folder" folder does not exist. =20 =20 If I eliminate spacing, then it works: =20 -jar tools\ivy\ivy.jar -sync -retrieve = C:\Dev\TheProjectFolder/lib/[artifact]-[revision].[ext] -ivy ivy/ivy.xml = -settings ivy/ivysettings.xml =20 =20 My question is, how do I tell ivy to properly interpret spacing in the = project path? =20 Thanks and regards, =20 - Georges =20 ------_=_NextPart_001_01C9E85E.1099BEB9--