Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 80596 invoked from network); 7 Dec 2007 22:25:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 22:25:09 -0000 Received: (qmail 96164 invoked by uid 500); 7 Dec 2007 22:24:58 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 95842 invoked by uid 500); 7 Dec 2007 22:24:57 -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 95831 invoked by uid 99); 7 Dec 2007 22:24:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 14:24:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.142.200.145] (HELO web30802.mail.mud.yahoo.com) (68.142.200.145) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Dec 2007 22:24:58 +0000 Received: (qmail 30678 invoked by uid 60001); 7 Dec 2007 22:24:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=VKoDzb07k4EOQrUXBJsjRUlp1AXANtB/82LJ+TnzQNJRDBE26oTpskQFMMZaBKfSIdqo6tLR+gzhkf+bfuHRGPxbKdxPlQ7tj8ptrmlJBMiAq44i1JbRmA5pGGfnEY5dDoDAQyDps86MXFTxL+6yaipWcp0DrAXJ6/Yuo84eDH0=; X-YMail-OSG: WVYzFuwVM1khLQU7t..gQR4z3COgqPphVQxuQE.3tf6uXXbsJm_VVgKzJVu3iZ8S3qNsqMWreVHHA5BhBHEjyY0QzKn3n5NKwNvcIKzocBfIXSjj4tM- Received: from [217.136.199.113] by web30802.mail.mud.yahoo.com via HTTP; Fri, 07 Dec 2007 14:24:36 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Fri, 7 Dec 2007 14:24:36 -0800 (PST) From: Maarten Coene Subject: Re: extra attributes on publication artifacts To: Ant Developers List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <460119.30394.qm@web30802.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org It's a problem for fixing IVY-471 where I only want to write the extra-attributes for the published artifact that are really defined for that artifact (and not inherited from the module). In addition, I think it could confuse people when they define extra-attributes on the module and on the artifact with the same name -> which one will be taken? And at least, at the moment, there is a bug in this ArtifactRevisionId.newInstance(...) method which causes that the original extra-attributes on the artifact are lost. But I'll take a look at the example in IVY-418. If that one succeeds, I'll remove this piece of code that adds these extra attributes to the artifact, ok? Maarten ----- Original Message ---- From: Xavier Hanin To: Ant Developers List Sent: Friday, December 7, 2007 11:16:15 PM Subject: RE: extra attributes on publication artifacts I guess it's more related to IVY-419 (which has been introduced for maven 2 classifers, but is now an Ivy feature). IVY-419 let people define artifacts for a dependency even though the dependendy already has a module descriptor. But maybe adding extra attributes the the ArtifactRevisionId was only an attempt which end up being unuseful. If no unit test fails, it's probably the reason. But we'd need to make a real world test with a dependency on a mven 2 pom using classifiers (there's one example in IVY-418). BTW, is it a source of problem for you? Xavier > -----Original Message----- > From: Maarten Coene [mailto:maarten_coene@yahoo.com] > Sent: Friday, December 07, 2007 5:04 PM > To: Ant Developers List > Subject: Re: extra attributes on publication artifacts > > No tests are failing if I remove it. The corresponding svn commit log > where this code has been added is this (svn revision 515753) > > NEW: define artifacts not declared by the dependency module descriptor > (IVY-419) > FIX: Ivy doesn't recognize maven2 classifiers (IVY-418) > > Xavier: could you remember some more details? Maybe something with > these maven2 classifiers? > > Maarten > > ----- Original Message ---- > From: Xavier Hanin > To: Ant Developers List > Sent: Friday, December 7, 2007 10:46:56 PM > Subject: RE: extra attributes on publication artifacts > > > I think it is useful to use them in patterns. Try removing this piece > of code and see if a test case is failing, I wouldn't be surprised we > have a test case for that. > > Xavier > > > -----Original Message----- > > From: Maarten Coene [mailto:maarten_coene@yahoo.com] > > Sent: Friday, December 07, 2007 4:41 PM > > To: ant-dev > > Subject: extra attributes on publication artifacts > > > > Hi, > > > > In the ArtifactRevisionId.newInstance(...) methods, the extra > > attributes of the module are automatically added to the extra > > attributes of the module artifacts. > > Any idea what could be the reason for this? > > > > Maarten > > > > > > > > > > > > > > _______________________________________________________________________ > > _____________ > > Never miss a thing. Make Yahoo your home page. > > http://www.yahoo.com/r/hs > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > > For additional commands, e-mail: dev-help@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > > > > > > > _______________________________________________________________________ > _____________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org