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 21EC773F0 for ; Fri, 2 Sep 2011 02:21:35 +0000 (UTC) Received: (qmail 47069 invoked by uid 500); 2 Sep 2011 02:21:35 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 47030 invoked by uid 500); 2 Sep 2011 02:21:34 -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 47023 invoked by uid 99); 2 Sep 2011 02:21:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 02:21:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Fri, 02 Sep 2011 02:21:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CECD837CB6 for ; Fri, 2 Sep 2011 02:21:09 +0000 (UTC) Date: Fri, 2 Sep 2011 02:21:09 +0000 (UTC) From: "Oliver Wang (JIRA)" To: notifications@ant.apache.org Message-ID: <560690679.9145.1314930069843.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1024009651.9139.1314929829756.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (IVY-1311) Module wide exclude must be at the end? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Wang updated IVY-1311: ----------------------------- Description: While I try to turn off commons-logging from Spring using IVY's module wide exclude. If I {{put}} *exclude* right after .... }} then, ivy:resolve will issue a parsing error: dep: [ivy:resolve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ :: [ivy:resolve] [xml parsing: ivy.xml:17:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'dependency'. One of '{exclude, override, conflict}' is expected. in file:/Users/oliver/test/ivy.xml [ivy:resolve] ] BUILD FAILED However, if I move the exclude to the end, right before the closing tag, the error goes away. I think this is some sort of bug, please confirm. .... was: While I try to turn off commons-logging from Spring using IVY's module wide exclude. If I put *exclude* right after {{ .... }} then, ivy:resolve will issue a parsing error: {{ dep: [ivy:resolve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ :: [ivy:resolve] [xml parsing: ivy.xml:17:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'dependency'. One of '{exclude, override, conflict}' is expected. in file:/Users/oliver/test/ivy.xml [ivy:resolve] ] BUILD FAILED }} However, if I move the exclude to the end, right before the closing tag, the error goes away. I think this is some sort of bug, please confirm. {{ .... }} > Module wide exclude must be at the end? > --------------------------------------- > > Key: IVY-1311 > URL: https://issues.apache.org/jira/browse/IVY-1311 > Project: Ivy > Issue Type: Bug > Components: Core > Affects Versions: 2.2.0 > Reporter: Oliver Wang > > While I try to turn off commons-logging from Spring using IVY's module wide exclude. > If I {{put}} *exclude* right after > > > rev="${spring.version}" transitive="true" conf="base->default"> > > .... > }} > then, ivy:resolve will issue a parsing error: > dep: > [ivy:resolve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ :: > [ivy:resolve] [xml parsing: ivy.xml:17:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'dependency'. One of '{exclude, override, conflict}' is expected. in file:/Users/oliver/test/ivy.xml > [ivy:resolve] ] > BUILD FAILED > However, if I move the exclude to the end, right before the closing tag, the error goes away. > I think this is some sort of bug, please confirm. > > rev="${spring.version}" transitive="true" conf="base->default"> > > .... > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira