Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 7728 invoked from network); 1 Sep 2008 21:17:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2008 21:17:35 -0000 Received: (qmail 37291 invoked by uid 500); 1 Sep 2008 21:17:33 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 37261 invoked by uid 500); 1 Sep 2008 21:17: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 37252 invoked by uid 99); 1 Sep 2008 21:17:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 14:17: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; Mon, 01 Sep 2008 21:16:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3036C234C1C3 for ; Mon, 1 Sep 2008 14:16:44 -0700 (PDT) Message-ID: <1839036265.1220303804183.JavaMail.jira@brutus> Date: Mon, 1 Sep 2008 14:16:44 -0700 (PDT) From: "Maarten Coene (JIRA)" To: notifications@ant.apache.org Subject: [jira] Assigned: (IVY-888) Ivy Publish Task Fails When XML Comments Exist Next to Dependency Declarations In-Reply-To: <125913980.1220045864367.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maarten Coene reassigned IVY-888: --------------------------------- Assignee: Maarten Coene > Ivy Publish Task Fails When XML Comments Exist Next to Dependency Declarations > ------------------------------------------------------------------------------ > > Key: IVY-888 > URL: https://issues.apache.org/jira/browse/IVY-888 > Project: Ivy > Issue Type: Bug > Components: Ant > Affects Versions: 2.0.0-beta-2 > Environment: Java 5.0, Eclipse 3.3.2, Ant 1.7.0 > Reporter: Julian Klein > Assignee: Maarten Coene > Priority: Minor > > When I have a dependency declared on the same line as a XML comment I receive the following error when attempting to call ivy:publish: > "RuntimeException: bad ivy file in cache" > Upon reviewing the generated "resolved descriptor" the line that causes this error looks like the following (see spring-aop line): > > > > > > the source ivy.xml file that generated this erroneous output contains a line as follows: > > > > > Now I am not sure if it is because of the XML comments or the greater than brackets inside the conf attributes. Moving the comments to different lines resolves the issue. Ivy tells me to clean my cache in order to resolve the issue, but this doesn't resolve the problem. Without the ivy publish task being used, everything else works fine (resolve/retrieve). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.