ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Fallback configuration not working
Date Thu, 26 Aug 2010 19:47:40 GMT
I'm not sure but I think you should specify a fallback configuration between the 
brackets.
Maybe you could try somthing like:

defaultconfmapping="default->@,sources(@),javadoc(@)

or 

defaultconfmapping="default->@,sources(default),javadoc(default)


Maarten



----- Original Message ----
From: Panayiotis Karabassis <panayk@gmail.com>
To: ivy-user@ant.apache.org
Sent: Wed, August 25, 2010 7:00:37 PM
Subject: Fallback configuration not working

In my ivy.xml I have:

defaultconfmapping="default->@,sources(),javadoc()"

and below a dependency:

<dependency org="org.springframework" name="spring" rev="2.5.6" conf="default"/>

I am getting this error:

[NOT FOUND  ] org.springframework#spring;2.5.6!spring.jar(javadoc) (554ms)
==== central: tried
http://repo1.maven.org/maven2/org/springframework/spring/2.5.6/spring-2.5.6-javadoc.jar

::::::::::::::::::::::::::::::::::::::::::::::
::              FAILED DOWNLOADS            ::
:: ^ see resolution messages for details  ^ ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.springframework#spring;2.5.6!spring.jar(javadoc)
::::::::::::::::::::::::::::::::::::::::::::::

I would expect the javadoc dependency to be ignored since it does not exist.

Regards,
    Panayiotis


      

Mime
View raw message