Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 91262 invoked from network); 1 Oct 2008 19:24:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 19:24:35 -0000 Received: (qmail 43552 invoked by uid 500); 1 Oct 2008 19:24:33 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 43505 invoked by uid 500); 1 Oct 2008 19:24:33 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 43496 invoked by uid 99); 1 Oct 2008 19:24:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 12:24:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 19:23:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 34063234C1F8 for ; Wed, 1 Oct 2008 12:23:44 -0700 (PDT) Message-ID: <1863458674.1222889024198.JavaMail.jira@brutus> Date: Wed, 1 Oct 2008 12:23:44 -0700 (PDT) From: "Scott Hebert (JIRA)" To: notifications@ant.apache.org Subject: [jira] Created: (IVY-929) Extra Attributes specified in the Dependency's Module Descriptor are not available to resolvers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Extra Attributes specified in the Dependency's Module Descriptor are not available to resolvers ----------------------------------------------------------------------------------------------- Key: IVY-929 URL: https://issues.apache.org/jira/browse/IVY-929 Project: Ivy Issue Type: Bug Components: Core Affects Versions: 2.0-RC1 Environment: Windows Java 6 Reporter: Scott Hebert Priority: Critical {quote}This is a follow up to IVY-773{quote} Consider the following IVY file: {code:xml} {code} and the corresponding dependency's IVY file: {code:xml} {code} When a resolver resolves to determine the revision of dependency, it seems that the extra attribute *myextraattrib* is not available. I've narrowed it down to the method in *BasicResolver*: {code:java} public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) {} {code} where at this point: {code:java} rmr = parse(ivyRef, systemDd, data); {code} *rmr* contains the extra attributes... but at this point: {code:xml} if (systemMd instanceof DefaultModuleDescriptor) { DefaultModuleDescriptor defaultMd = (DefaultModuleDescriptor) systemMd; ModuleRevisionId revision = getRevision(ivyRef, systemMrid, systemMd); defaultMd.setModuleRevisionId(revision); defaultMd.setResolvedModuleRevisionId(revision); {code} {code:xml} ModuleRevisionId revision = getRevision(ivyRef, systemMrid, systemMd); {code} *revision* is missing the extra attributes. I am not familiar enough with the meanings of each of the objects to be able to fix this. Thanks Scott -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.