Two ideas on how to solve your problem :
- Check what ivy file end up in your cache.
- In some case, Ivy can work with no ivy file found. In that case, it
may just take the jar. Maybe you fall under this scenario. Check
carefully the path that are tried, maybe with ant -v or ant -d.
2008/8/24 Barry Kaplan <[EMAIL PROTECTED]>:
>
> Here's some of my output. I'm a bit confused where ivy says "no ivy file
> found..." and then on the very next line it says "found..." of what appears
> to be the same ivy*.xml file.
>
> libraries: Checking cache for: dependency: activemq#activemq;3.0 {*=[*]}
> no ivy file in cache for activemq#activemq;3.0: tried
> C:\Users\kaplanb\.ivy2\cache\activemq\activemq\ivy-3.0.xml
> no ivy file in cache for activemq#activemq;3.0: tried
> C:\Users\kaplanb\.ivy2\cache\activemq\activemq\ivy-3.0.xml
> trying
> Q:\sig\sig-trading.dev\build/../../sig-m2-repo/metadata/activemq/activemq/ivy-3.0.xml
> tried
> Q:\sig\sig-trading.dev\build/../../sig-m2-repo/metadata/activemq/activemq/ivy-3.0.xml
> metadata-override: no ivy file found for activemq#activemq;3.0: using
> default data
> found activemq#activemq;3.0 in metadata-override
>
> Where that file is:
> ----
> <?xml version="1.0" encoding="UTF-8"?>
> <ivy-module version="1.0">
> <info organisation="activemq" module="activemq" revision="3.0"
> status="release" publication="20080824113448" default="true"/>
> <configurations>
> <conf name="default" visibility="public"/>
> </configurations>
> <dependencies>
> <dependency org="javax" name="jms" rev="1.1" conf="default"/>
> </dependencies>
> <publications>
> <artifact name="activemq" type="jar" ext="jar" conf="default"/>
> </publications>
> </ivy-module>
> ----
> --
> View this message in context:
> http://www.nabble.com/Override-dependencies-using-dual-and-metadata-resolver--tp19131638p19131639.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>
--
Gilles Scokart