ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Panayiotis Karabassis <pan...@gmail.com>
Subject Re: Fallback configuration not working
Date Thu, 26 Aug 2010 21:37:00 GMT
Hmm, sometimes it happens sometimes not.
I noticed sometimes it downloads an empty jar.
Still it would be nice to be able to specify an empty fallback  
configuration.

Regards,
     Panayiotis

On 08/26/2010 10:47 PM, Maarten Coene wrote:
> 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