I guess the task below is good enough to clean the cache?
<target name="clean-cache">
<delete dir="${user.home}/.ivy/cache" />
</target>
Well, the problem still exist after I cleaned the cache. So I guess
the only option left is to use the trunk ... which unfortunately, I'm
not a Subversion user :-(
On 7/3/07, Xavier Hanin <[EMAIL PROTECTED]> wrote:
On 7/3/07, hezjing <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Based on
> http://mvnrepository.com/artifact/org.springframework/spring-context/2.0.4
> ,
>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-context</artifactId>
> <version>2.0.4</version>
> </dependency>
>
>
> I created below Ivy dependency,
>
> <dependency org="org.springframework" name="spring-context" rev="2.0.4" />
>
>
> When run, it gives the following error
>
> ::::::::::::::::::::::::::::::::::::::::::::::
> :: UNRESOLVED DEPENDENCIES ::
> ::::::::::::::::::::::::::::::::::::::::::::::
> :: [ org.springframework | spr | 2.0.4 ]: not found
> ::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> Did I overlook anything this time?
No, you just ran into an Ivy bug:
https://issues.apache.org/jira/browse/IVY-524
This bug is fixed on current trunk, so you can either try the trunk or clean
your cache (cleaning xml metadata is enough, you don't need to remove the
jars) and try again. Note that even with the trunk you will have to clean
your cache, since the badly parsed pom is now stored in your ivy cache.
Xavier
--
>
> Hez
>
--
Xavier Hanin - Independent Java Consultant
Creator of Ivy, xooki and xoocode.org
More about me: http://xhab.blogspot.com/
--
Hez