Charlie Hubbard created IVY-1490:
------------------------------------

             Summary: dependencytree doesn't recognize circular references and 
dies with Stackoverflow
                 Key: IVY-1490
                 URL: https://issues.apache.org/jira/browse/IVY-1490
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.4.0-RC1
            Reporter: Charlie Hubbard


If you have a dependency, like batik libraries, in your project that have 
circular dependencies dependencytree fails with a stack overflow exception.

{code}
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd";>
    <info organisation="com.fuseanalaytics" module="fusearchiver"/>

    <configurations defaultconfmapping="default">
        <conf name="compile" visibility="public"/>
        <conf name="provided" visibility="public"/>
    </configurations>

     <dependencies defaultconf="compile->default">
        <dependency org="org.apache.xmlgraphics" name="batik-rasterizer" 
rev="1.7"/>
        <dependency org="org.apache.xmlgraphics" name="batik-rasterizer-ext" 
rev="1.7"/>
        <dependency org="org.apache.xmlgraphics" name="batik-extension" 
rev="1.7">
            <exclude org="xml-apis"/>
        </dependency>
        <dependency org="org.apache.xmlgraphics" name="batik-codec" rev="1.7">
            <exclude org="xml-apis"/>
        </dependency>
        <dependency org="org.apache.xmlgraphics" name="batik-css" rev="1.7"/>   
     
    </dependencies>
</ivy-module>
{code} 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to