Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B28419119 for ; Sun, 20 Nov 2011 22:18:13 +0000 (UTC) Received: (qmail 6074 invoked by uid 500); 20 Nov 2011 22:18:13 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 6036 invoked by uid 500); 20 Nov 2011 22:18:13 -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 6029 invoked by uid 99); 20 Nov 2011 22:18:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2011 22:18:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2011 22:18:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EB62E926F0 for ; Sun, 20 Nov 2011 22:17:51 +0000 (UTC) Date: Sun, 20 Nov 2011 22:17:51 +0000 (UTC) From: =?utf-8?Q?Bj=C3=B6rn_Kautler_=28Created=29_=28JIRA=29?= To: notifications@ant.apache.org Message-ID: <87203144.49597.1321827471966.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (IVY-1322) Generated default module descriptors with extra attributes are not working because of missing namespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Generated default module descriptors with extra attributes are not working = because of missing namespace ---------------------------------------------------------------------------= ---------------------------- Key: IVY-1322 URL: https://issues.apache.org/jira/browse/IVY-1322 Project: Ivy Issue Type: Bug Components: Core Affects Versions: 2.2.0, trunk Reporter: Bj=C3=B6rn Kautler The following three files {code:title=3Divysettings.xml|borderStyle=3Dsolid} {code} {code:title=3Divy.xml|borderStyle=3Dsolid} default"> {code} {code:title=3Dbuild.xml|borderStyle=3Dsolid} {code} produce the following file {code:title=3D~/.ivy2/cache/net.sf.launch4j/launch4j/ivy-3.0.2.xml|borderSt= yle=3Dsolid} {code} In this file, the classifier attributes do not have a namespace which will = cause validation to fail and the build cannot be done offline, because laun= ch4j is redownloaded on every retrieve like seen here: {code} [ivy:retrieve] =09problem while parsing cached ivy file for: net.sf.launch4= j#launch4j;3.0.2: [xml parsing: ivy-3.0.2.xml:14:85: cvc-complex-type.3.2.2= : Attribute 'classifier' is not allowed to appear in element 'artifact'. in= file:/home/vampire/.ivy2/cache/net.sf.launch4j/launch4j/ivy-3.0.2.xml [ivy:retrieve] , xml parsing: ivy-3.0.2.xml:15:86: cvc-complex-type.3.2.2: = Attribute 'classifier' is not allowed to appear in element 'artifact'. in f= ile:/home/vampire/.ivy2/cache/net.sf.launch4j/launch4j/ivy-3.0.2.xml [ivy:retrieve] , xml parsing: ivy-3.0.2.xml:16:85: cvc-complex-type.3.2.2: = Attribute 'classifier' is not allowed to appear in element 'artifact'. in f= ile:/home/vampire/.ivy2/cache/net.sf.launch4j/launch4j/ivy-3.0.2.xml ... [ivy:retrieve] =09 trying http://downloads.sourceforge.net/project/launch4j= /launch4j-3/3.0.2/launch4j-3.0.2-win32.zip [ivy:retrieve] =09=09tried http://downloads.sourceforge.net/project/launch4= j/launch4j-3/3.0.2/launch4j-3.0.2-win32.zip [ivy:retrieve] =09launch4j: no ivy file found for net.sf.launch4j#launch4j;= 3.0.2: using default data ... [ivy:retrieve] :: resolution report :: resolve 790ms :: artifacts dl 4ms =09--------------------------------------------------------------------- =09| | modules || artifacts | =09| conf | number| search|dwnlded|evicted|| number|dwnlded| =09--------------------------------------------------------------------- =09| launch4j | 1 | 1 | 0 | 0 || 3 | 0 | =09--------------------------------------------------------------------- {code} In DefaultModuleDescriptor.newDefaultInstance() line 112 getExtraAttributes= () is used and thus the namespace is lost. Even if getQualifiedExtraAttribu= tes() would be used this would not suffice, as then the namespace declarati= on is missing and again the validation would fail. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira