Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 79527 invoked from network); 26 Aug 2008 07:33:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2008 07:33:23 -0000 Received: (qmail 92127 invoked by uid 500); 26 Aug 2008 07:33:21 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 92111 invoked by uid 500); 26 Aug 2008 07:33:21 -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 92100 invoked by uid 99); 26 Aug 2008 07:33:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 00:33:21 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xavier.hanin@gmail.com designates 72.14.246.244 as permitted sender) Received: from [72.14.246.244] (HELO ag-out-0708.google.com) (72.14.246.244) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 07:32:22 +0000 Received: by ag-out-0708.google.com with SMTP id 8so4971291agc.0 for ; Tue, 26 Aug 2008 00:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Fdio9D3G1rZf1otgY3IB0jsCJxgO0od/ukdC7nY/cWk=; b=fzmiRFLSYis1jUvO6pqggp0pZMDvPPDrLTnTfCEA2UzsguVBvjP96+XHAI9wNDgRf+ eppI3JLspp30jvhvJexq5RKdgfHB6Cb1u+qtksTLaEKG3TLMajekBv7NaoNhXlRVEPqd sUQ1HpidVAv8rH9CeIO68Cr0HdLZrC8Ci9h4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=uvjBIxLtH+fTasfi3I2cJP/Iv60fjujUGbM6ETATRcelXAvHbsPP4dBuF1ZGCPpzl3 Gm0qE50b5vgFMtINEO6gOC1gyRZbEyjDuppmisuO5gVzSkhXc3VIaI9BCKe5Sd5DEBkI yhG+sYXD2+fF0UNaX3q77genpRzKpRfjrsNsg= Received: by 10.143.162.3 with SMTP id p3mr1868592wfo.313.1219735970751; Tue, 26 Aug 2008 00:32:50 -0700 (PDT) Received: by 10.142.255.15 with HTTP; Tue, 26 Aug 2008 00:32:50 -0700 (PDT) Message-ID: <635a05060808260032r3c3164f2u39c3f6e44b4bea05@mail.gmail.com> Date: Tue, 26 Aug 2008 09:32:50 +0200 From: "Xavier Hanin" To: ivy-user@ant.apache.org Subject: Re: IvyDE and properties in ivy.xml files In-Reply-To: <941a6680808251250pc3ec1f5te03cb28483d949c0@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3152_12228141.1219735970742" References: <635a05060808251128l7ab7533fp112f5cc9a17f7f73@mail.gmail.com> <941a6680808251250pc3ec1f5te03cb28483d949c0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3152_12228141.1219735970742 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Aug 25, 2008 at 9:50 PM, Patrick Aikens wrote: > I'm not sure I understand the workaround you're talking about... what > do you mean by "settings specific to IvyDE which merely include your > usual settings + load the properties file in which you define your > versions" - what settings would that be? Something like: ---8<--- ---8<--- If you find this useful, feel free to document it in Ivy wiki! Xavier > > > > On Mon, Aug 25, 2008 at 2:28 PM, Xavier Hanin > wrote: > > On Mon, Aug 25, 2008 at 7:26 PM, Patrick Aikens > wrote: > > > >> I've asked this before and received no answers, so I want to try one > more > >> time > >> before giving in to maintaining a patch on top of ivy or ivyde... > >> > >> We use ant properties in our ivy.xml files to point to an external file > >> that > >> defines the configurations used in our modules and specify versions of > >> dependencies. IvyDE doesn't know how to deal with these properties - is > >> there > >> any way to make this work in Eclipse, or would we have to make IvyDE or > ivy > >> itself evaluate the properties in Eclipse? I can't imagine that we're > the > >> only > >> ones using properties for dependency versions since it wouldn't be > trivial > >> to > >> make sure that all ivy.xml files across a large set of projects keep the > >> version > >> of, say, log4j they use in sync. > > > > The workaround is to use settings specific to IvyDE which merely include > > your usual settings + load the properties file in which you define your > > versions. But I think there's an open issue in IvyDE JIRA asking to > support > > properties loading in IvyDE directly to avoid this 'trick', feel free to > > submit a patch. > > > > Xavier > > > > > > > > -- > > Xavier Hanin - Independent Java Consultant > > http://xhab.blogspot.com/ > > http://ant.apache.org/ivy/ > > http://www.xoocode.org/ > > > > > > -- > SELECT * FROM users WHERE clue > 0 > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_3152_12228141.1219735970742--