[
https://issues.apache.org/jira/browse/IVY-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maarten Coene resolved IVY-1251.
--------------------------------
Resolution: Invalid
> 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
> Attachments: ivywarnbug.zip
>
>
> There is some weird problem where a classpath generated by ivy gets corrupted
> when (before? after?) it gets passed to the {{<javac>}} 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 {{<echo>}} task displays the correct path, but
> {{<javac>}} 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
> {{<javac>}}.
> 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.