From ivy-user-return-7730-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Fri Mar 04 14:20:02 2011 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 41016 invoked from network); 4 Mar 2011 14:20:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 14:20:01 -0000 Received: (qmail 45416 invoked by uid 500); 4 Mar 2011 14:20:01 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 45397 invoked by uid 500); 4 Mar 2011 14:20:01 -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 45388 invoked by uid 99); 4 Mar 2011 14:20:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 14:20:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of heapifyman@gmail.com designates 209.85.161.45 as permitted sender) Received: from [209.85.161.45] (HELO mail-fx0-f45.google.com) (209.85.161.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 14:19:52 +0000 Received: by fxm11 with SMTP id 11so2352412fxm.4 for ; Fri, 04 Mar 2011 06:19:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type:content-transfer-encoding; bh=yO7ivA0hFBr5ab/7bigpTVaEhqrIR6/3bdK14P578Qo=; b=FT71UjKr/rdnd1OliRsGFTEPSt3XrnM2PRsKgC7vfKl4QiMRBlV9hZOZqsltNTUnGe WmvFh88J5HsXxsle+dYWfuHIyp2IdK88uDEhOAyViCaBYhc+M5GHU+B/dUeKqko1xt+F F3WyAqrjnE144vejfDIHK2QKB6PtCcasV6Lp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=b7idtISiUfhZ3lak66T7chePnVE1kFdpyqMOczjg9T0pde7Z81/qWrEFDr8JNXWKVM pxMI9sHQlaha4Tdyf8c1scEsytazqyUI1k5cy1zmmewLsCuEvQJ0ihKWHu0afNW9oO5Y BdXbtcL4IcT4A9/qcp9W1m7hAkOut0dfYB5DU= Received: by 10.223.115.10 with SMTP id g10mr894964faq.6.1299248372279; Fri, 04 Mar 2011 06:19:32 -0800 (PST) Received: from [192.168.15.138] (82-198-197-188.briteline.de [82.198.197.188]) by mx.google.com with ESMTPS id y11sm503794fam.39.2011.03.04.06.19.30 (version=SSLv3 cipher=OTHER); Fri, 04 Mar 2011 06:19:31 -0800 (PST) Message-ID: <4D70F4FE.8020609@gmail.com> Date: Fri, 04 Mar 2011 15:19:42 +0100 From: heapifyman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.14) Gecko/20110221 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: ivy-user@ant.apache.org Subject: Re: global ivysettings.xml ? References: <4D70CEF2.1070707@gmail.com> <2EA3D525-C610-4BAD-B920-06C989C4C504@hibnet.org> In-Reply-To: <2EA3D525-C610-4BAD-B920-06C989C4C504@hibnet.org> X-Enigmail-Version: 1.1.1 OpenPGP: id=0FC63836 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Am 04.03.2011 15:11, schrieb Nicolas Lalevée: > > Le 4 mars 2011 à 12:37, heapifyman a écrit : > >> >> Hello all, >> >> coming from maven, I'm used to a global settings.xml in USER_HOME/.m2. >> >> Can I have a similar thing for ivy2? I was trying to change the >> defaultCacheDir by putting an ivysettings.xml file into the >> USER_HOME/.ivy2 with the following content: >> >> >> >> >> >> This does not seem to be working. >> Do I have to specify that setting in every project that uses ivy? > > You could also define the property "ivy.cache.dir" for that. Where you set that property depends on how you use Ivy. Where would I define that property? Currently, I'm experimenting with sbt, which uses ivy for dependency resolution if I'm not mistaken. I'd just like to move the cache directory out of my USER_HOME folder as this needs to be kept at small size due to company policy. And as I know myself I will keep forgetting to set that property if I have to define it in every new project. That's why I'm looking for some kind of global configuration. Thanks, Philip > > Nicolas >