Retrieving same dll in different versions fails with [NOT FOUND  ] 
<ARTIFACT>.jar
---------------------------------------------------------------------------------

                 Key: IVY-1261
                 URL: https://issues.apache.org/jira/browse/IVY-1261
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.2.0
         Environment: Artifactory 2.3.1
Ant 1.8.1
Win 2008 Server R2
            Reporter: Tim Begander


Running this simple ant-file:
------------------------------------------

<project name="bug" default="default" basedir="." 
xmlns:ivy="antlib:org.apache.ivy.ant">

        <target name="default">
                <ivy:settings file="../ivysettings.xml" />
                <ivy:cleancache />
                <ivy:retrieve/>
        </target>

</project>

with this simple ivy.xml
--------------------------------
<ivy-module version="2.0">
        <info organisation="xxx" module="arti-test" />

        <dependencies>

                <dependency org="Microsoft.Office.Interop" name="Excel"
                        rev="11.0">
                        <artifact name="Excel" type="dll" ext="dll" />
                </dependency>

                <dependency org="Microsoft.Office.Interop" name="Excel"
                        rev="12.0">
                        <artifact name="Excel" type="dll" ext="dll" />
                </dependency>

        </dependencies>

</ivy-module>

causes
-----------

[ivy:cleancache] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:cleancache] :: loading settings :: file = 
D:\workspaces\HEAD\arti\ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: 
com.recommind#arti-test;working@tbr-dev-srv
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found Microsoft.Office.Interop#Excel;12.0 in public
[ivy:retrieve]  found Microsoft.Office.Interop#Office-Core;12.0 in public
[ivy:retrieve] downloading 
http://localhost:8081/artifactory/libs-release/Microsoft/Office/Interop/Office-Core/12.0/Office-Core-12.0.DLL
 ...
[ivy:retrieve] .................................................. (413kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] 
Microsoft.Office.Interop#Office-Core;12.0!Office-Core.DLL (47ms)
[ivy:retrieve] :: resolution report :: resolve 267ms :: artifacts dl 49ms
[ivy:retrieve]  :: evicted modules:
[ivy:retrieve]  Microsoft.Office.Interop#Excel;11.0 by 
[Microsoft.Office.Interop#Excel;12.0] in [default]
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   3   |   2   |   2   |   1   ||   2   |   1   |
        ---------------------------------------------------------------------
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          [NOT FOUND  ] 
Microsoft.Office.Interop#Excel;12.0!Excel.jar (0ms)
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    
http://localhost:8081/artifactory/libs-release/Microsoft/Office/Interop/Excel/12.0/Excel-12.0.jar
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::              FAILED DOWNLOADS            ::
[ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: Microsoft.Office.Interop#Excel;12.0!Excel.jar
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED

Note
-------
Each dependency on its one works fine, together it fails.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to