[ 
https://issues.apache.org/jira/browse/IVY-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782988#action_12782988
 ] 

Maarten Coene commented on IVY-1136:
------------------------------------

The exception is normal and just says something went wrong when resolving the 
dependencies.
We really need the log to see what's happening, but could you run again with 
latest snapshot of Ivy and attach the debug log (ant -d ... ) which will 
hopefully contains the necessary information ?

Maarten

> Cannot retreive multiple files from hudson with url resolver  
> --------------------------------------------------------------
>
>                 Key: IVY-1136
>                 URL: https://issues.apache.org/jira/browse/IVY-1136
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Windows, Ubuntu, sun jdk 1.6.0_12,  ant 1.7.1
>            Reporter: Jason Eacott
>
> hi all, I've had this problem for a while and have been hoping it might get 
> fixed once v 2.1 was released. alas it seems not.
> I'm trying to use Ivy in a hudson build environment (not using the ivy hudson 
> plugin), from an ordinary ant build script.
> If I have just one dependency in hudson then ivy retrieves it just fine. 
> However if I have more than one then ONLY the first one listed in the ivy.xml 
> is retrieved. the rest fail.
> if I rearrange them only the first one is ever retrieved, so individually I 
> know the ivy.xml entries are ok.
> I tested hudsons' concurrency capacity and it seems just fine, so I think the 
> problem is either with ivy, or my config.
> my ivy.xml - 
>    <info 
>         organisation="abc.com"
>         module="mymodule"
>         status="integration">
>    </info>
>       
>    <dependencies>
>          <dependency  name="myprojdep1" rev="latest.integration" force="true" 
> conf="*->*,!sources,!javadoc"/>
>            <dependency  name="myprojdep2" rev="latest.integration" 
> force="true"  conf="*->*,!sources,!javadoc"/> <!-- this will fail every time 
> with module not found-->
>    </dependencies>
> my settings:
> <ivysettings>
>       <properties file="${ivy.settings.dir}/ivysettings.properties"/>
>       <property name="ivy.local.default.root"             
> value="${ivy.default.ivy.user.dir}/local" override="false"/>
>       <property name="ivy.local.default.ivy.pattern"      
> value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" 
> override="false"/>
>       <property name="ivy.local.default.artifact.pattern" 
> value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" 
> override="false"/>
>       <property name="ivy.checksums" value=""></property>
>   <settings defaultResolver="libraries"/>
>       <caches>
>         <cache name="localcache" basedir="${ivy.settings.dir}/ivy-cache" />
>       </caches> 
>       
>       <resolvers>
>       <!-- if we cant find it locally check hudson (should work so that if we 
> are developing it will find dev project artifacts locally) -->
>       <chain name="localthenhudson">
>               <filesystem name="projects"  cache="localcache" >
>                       <artifact 
> pattern="${basedir}/../[module]/dist/[artifact].[ext]" />
>                       <ivy pattern="${basedir}/../[module]/ivy.xml" />
>               </filesystem>
>               <url name="hudsonartifacts" cache="localcache" >
>                 <artifact 
> pattern="http://myhudsonhost:8080/job/[module]-test/lastSuccessfulBuild/artifact/trunk/dist/[module].[ext]";
>  />
>                </url>
>               </resolvers>
>       <modules>
>               <module organisation="myorg" name=".*" 
> resolver="localthenhudson" />
>       </modules>
> </ivysettings>
> hints, & help welcomed.
> Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to