Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 80052 invoked from network); 1 Dec 2010 23:18:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Dec 2010 23:18:32 -0000 Received: (qmail 79387 invoked by uid 500); 1 Dec 2010 23:18:32 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 79363 invoked by uid 500); 1 Dec 2010 23:18:32 -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 79356 invoked by uid 99); 1 Dec 2010 23:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 23:18:32 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 23:18:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB1NIBCL020490 for ; Wed, 1 Dec 2010 23:18:11 GMT Message-ID: <7796873.59231291245491278.JavaMail.jira@thor> Date: Wed, 1 Dec 2010 18:18:11 -0500 (EST) From: "Archie Cobbs (JIRA)" To: notifications@ant.apache.org Subject: [jira] Created: (IVY-1251) Mysterious corrupted ivy classpath passed to javac task causes javac warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mysterious corrupted ivy classpath passed to javac task causes javac warnings ----------------------------------------------------------------------------- Key: IVY-1251 URL: https://issues.apache.org/jira/browse/IVY-1251 Project: Ivy Issue Type: Bug Components: Core Affects Versions: 2.2.0 Environment: ivy-2.2.0 ant-1.7.1 javac 1.6.0_18 openSUSE 11.3 Reporter: Archie Cobbs There is some weird problem where a classpath generated by ivy gets corrupted when (before? after?) it gets passed to the {{}} ant task. How to reproduce: # Unpack the attached ZIP file test case # Change directory into the {{ivywarnbug}} directory # Copy your favorite version of {{ivy.jar}} to the current directory (I'm using version 2.2.0) # Run "ant" This is what I see (line breaks added for clarity): {noformat} bug: [echo] jibx.path=/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/jibx-schema-1.2.2.jar :/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/jibx-run-1.2.2.jar :/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/jibx-bind-1.2.2.jar :/home/archie/ivywarnbug/cache/org.apache.bcel/bcel/jars/bcel-5.1.jar :/home/archie/ivywarnbug/cache/org.apache.log4j/log4j/jars/log4j-1.2.15.jar [delete] Deleting directory /home/archie/ivywarnbug/classes [mkdir] Created dir: /home/archie/ivywarnbug/classes [javac] Compiling 1 source file to /home/archie/ivywarnbug/classes [javac] warning: [path] bad path element "/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/jibx-run.jar": no such file or directory [javac] warning: [path] bad path element "/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/jibx-bind.jar": no such file or directory [javac] warning: [path] bad path element "/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/xpp3.jar": no such file or directory [javac] warning: [path] bad path element "/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/stax-api.jar": no such file or directory [javac] warning: [path] bad path element "/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/wstx-asl.jar": no such file or directory [javac] warning: [path] bad path element "/home/archie/ivywarnbug/cache/net.sourceforge.jibx/jibx/jars/bcel.jar": no such file or directory [javac] 6 warnings {noformat} Note that the output of the {{}} task displays the correct path, but {{}} complains about non-existent files in the path that it sees, *and the paths are different!* Somehow the path is getting corrupted somehow when it gets passed to {{}}. Also weird is that this only happens for a few modules in Ivy Roundup. So far I've only seen it happen with JiBX and iText. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.