Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41416C1AF for ; Thu, 5 Jul 2012 16:15:05 +0000 (UTC) Received: (qmail 91616 invoked by uid 500); 5 Jul 2012 16:15:05 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 91558 invoked by uid 500); 5 Jul 2012 16:15:04 -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 91548 invoked by uid 99); 5 Jul 2012 16:15:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 16:15:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mockturtl@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-gh0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 16:14:55 +0000 Received: by ghrr14 with SMTP id r14so8193460ghr.4 for ; Thu, 05 Jul 2012 09:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=EqVkCyVEp3Y3OfGXNHuRo0TkyWPXu7EU3+5PvZpYKbs=; b=AQZgoqV94wcn0eUCBeseLzmHDnYcjRAEuXSRcScBTOnZdfQSq4psEB5yxhO4PVuHHU /3eb5JkIAs88VUrMr+GELL+HUrMEspAoJ77fRlXinvKLn+oAZQ8LI3T7it+7TU/rPMVP 7oGyxTY6dNmB/7yeazuwHhaX0DdfBfHKBGM6r234BSkZM7UQfsNhzU6M8XTmXV4BdGic cgjf54SFa5heZ2/29kuvesRrfL1T7inXVxr0wN8ZOpEfnXamTvZHasMi46Q1AFk/7udO KOgXoe0tmDTCG1aT6ApjXBLaUEdRjViy2BhyKHgjIXt3L1jafqGsUp991HX42EKURsVB L4EA== Received: by 10.101.5.6 with SMTP id h6mr9305162ani.82.1341504874351; Thu, 05 Jul 2012 09:14:34 -0700 (PDT) Received: from [192.168.1.119] (cpe-174-109-105-018.nc.res.rr.com. [174.109.105.18]) by mx.google.com with ESMTPS id n37sm20182513anq.0.2012.07.05.09.14.33 (version=SSLv3 cipher=OTHER); Thu, 05 Jul 2012 09:14:33 -0700 (PDT) Message-ID: <4FF5BD68.40208@gmail.com> Date: Thu, 05 Jul 2012 12:14:32 -0400 From: TM User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: ivy-user@ant.apache.org Subject: Re: new user: help with vfs resolver References: <4FEF9AB4.1030205@gmail.com> <4FF4CE60.3070409@gmail.com> <357D1F23-EF46-45CD-9C09-64EA70131759@hibnet.org> In-Reply-To: <357D1F23-EF46-45CD-9C09-64EA70131759@hibnet.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On 07/05/2012 03:57 AM, Nicolas Lalev�e wrote: > > your syntax is wrong. When using -jar, no additional classpath can be added; actually, everything after -jar in considered as arguments of the main java class, not the jvm. Tyr this instead: > > java -cp ivy-2.3.0-rc1.jar:lib/commons-vfs-1.0.jar org.apache.ivy.Main -settings /path/to/ivysettings.xml This gets past the error. Thanks! > >> or else with >> >> `` >> >> Does this provide any additional insight? > > did you try an absolute path ? > I don't remember well, but I guess relative path in the ivysettings are relative the the ivysettings.xml file. Yes, both absolute path, and relative path with `${ivy.settings.dir}`. I think the path is correct (otherwise, XmlSettingsParser throws a FileNotFoundException). But then I would expect this to be equivalent to the above solution using `-cp`. I'll try and look in the parser. Thanks again for your help.