Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 7029 invoked from network); 20 Dec 2007 09:34:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2007 09:34:45 -0000 Received: (qmail 33095 invoked by uid 500); 20 Dec 2007 09:34:33 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 33058 invoked by uid 500); 20 Dec 2007 09:34:33 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 33047 invoked by uid 99); 20 Dec 2007 09:34:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2007 01:34:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of peter.kitt.reilly@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2007 09:34:10 +0000 Received: by wa-out-1112.google.com with SMTP id k22so5263857waf.0 for ; Thu, 20 Dec 2007 01:34:14 -0800 (PST) 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:content-transfer-encoding:content-disposition:references; bh=nsRv0FpcwxrsSr66NLrqydViDfu2JQfX3K+Ya4LJkwY=; b=XyRFQUVJghf5Ag2djC/o5HbP4DAc61kHoJ6tZGGrf1jxDS0UbyEQyHODgqLydFCGsryEuWW1WGodd8kl1pg8Pywnu318NHKGkCh6HDbDZuNZBsQnq1XQGVAr8XOQINzgxfMz+DuE551Wmmu1QQSWHU7nkj3wZCICDENYly3w7XY= 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:content-transfer-encoding:content-disposition:references; b=IH29Kpn9CJ3YjqOj5gqlP8VIT/sjjdPS2QKA3i7NzYZirCz5YvRWLQX+fHjKfE72sCfUaHUJt+3TozeoG+WC+eTyXEdnJp8836CQ+Iiq7mChRQl5V7Ir/PIHi0vVcT4OU/ftPUaIneDd5ANVkD7dYDbyfTEUA/2cXkRaX44iCps= Received: by 10.114.130.1 with SMTP id c1mr3530642wad.52.1198143253948; Thu, 20 Dec 2007 01:34:13 -0800 (PST) Received: by 10.114.198.12 with HTTP; Thu, 20 Dec 2007 01:34:13 -0800 (PST) Message-ID: Date: Thu, 20 Dec 2007 09:34:13 +0000 From: "Peter Reilly" To: "Ant Developers List" Subject: Re: Ivy jar packaging In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <635a05060712190716m3a17a583o281476d448339999@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Dec 19, 2007 7:49 PM, Gilles Scokart wrote: > I'm confused. > Is it really related to IvyDE or just to launching ant from eclipse? > Also, If you don't put the the ivy ant task into the ant classpath, but only > the core. How does ant launched from eclipse find those tasks? > I guess I miss something. > > Anyway, I think it is a good idea to simplify our main distribution. > However, once we will have a clear published interface, I think we could > further split the distribution in the maven repository. Please no, There is quite enough jars in ant at the moment, having a number of extra ivy jars to make things work is not in my opinion a good idea. Peter > > Gilles > > 2007/12/19, Xavier Hanin : > > > > > Hi, > > > > ATM Ivy is provided in the form of two jars: ivy.jar and ivy-core.jar. The > > ivy-core.jar is basically the same as ivy.jar except that it doesn't > > contain > > Ant related classes (mostly Ivy Ant tasks). This was introduced a long > > time > > ago for IvyDE, as a workaround to a classloader issue when contributing > > ivy.jar to ant classpath in eclipse. > > > > The downside of this is that most people do not understand the difference > > between the two, and I often see people putting both ivy.jar and > > ivy-core.jar in ant/lib. Not that much a problem, until someone change > > only > > one jar out of the two, which can lead to strange bugs difficult to > > diagnose > > if ivy-core.jar is before ivy.jar in the classpath. > > > > Moreover, in recent tests I've found that the eclipse ant classpath > > problem > > was still present in some cases, and preferred to use an easy and > > straightforward solution: configure ant classpath manually in eclipse to > > add > > ivy.jar (or point to another ant home where ivy.jar is already present). > > > > Thus I'm wondering if it wouldn't be easier to abandon ivy-core.jar, and > > tell IvyDE users they have to configure their ant classpath manually IF > > they > > want to use Ivy tasks in their ant build from eclipse (as they have to do > > for any other custom ant tasks anyway). > > > > WDYT? > > > > Xavier > > -- > > Xavier Hanin - Independent Java Consultant > > http://xhab.blogspot.com/ > > http://ant.apache.org/ivy/ > > http://www.xoocode.org/ > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org