On Fri, Mar 14, 2008 at 6:28 PM, Per Hermansson
<[EMAIL PROTECTED]> wrote:
> Hi
>  I've having some troubles working with Ivy. My current issue is that I
>  get the followinging warning when I try to resolve a published ivy file
>  locally:
>  [ivy:resolve] :: problems summary ::
>  [ivy:resolve] :::: WARNINGS
>  [ivy:resolve]     impossible to put metadata file in cache:
>  
> G:\per\Development\java\MinaProgram\Eclipse\IvyTest\source\slf4j-api\dist\ivy.xml
>  ([EMAIL PROTECTED]). java.io.FileNotFoundException: C:\Documents and
>  [EMAIL PROTECTED]
>
>  When I use the following ant calls:
>         <ivy:cleancache />
>         <ivy:resolve
>  file="${project.root}/${modules.dir}/${module.name}/${publish.dir}/ivy.xml"
>  />
>         <ivy:retrieve ivypattern="[module]/[artifact].[ext]"
>  pattern="[module]/[artifact].[ext]"  />
>
>  With the property module.name=slf4j-api the ivy:retrive call only
>  downloads the jar artifacts and not the ivy file, since it wasn't resolved.
>  Why do I get the "impossible to put metadata file in cache" warning?
>  This happens when I'm using ivy 2.0.0-beta2.

This warning is rather strange, it sounds like a bug. Could you open
an issue in JIRA and attach your debug log, as well as some more
details on your settings and environment?

Xavier
>
>  When I'm using Ivy 2.0.0-beta1 I still get the warning but now
>  ivy:retrieve fails with with the following output:
>  impossible to ivy retrieve: java.lang.RuntimeException: problem during
>  retrieve of org.slf4j#slf4j-jdk14: java.io.FileNotFoundException:
>  C:\Documents and Settings\Per\.ivy2\cache\org.slf4j\slf4j-api\ivy-1.4.3.xml
>
>  Per Hermansson
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Reply via email to