[
https://issues.apache.org/jira/browse/IVY-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778202#action_12778202
]
Jason Eacott commented on IVY-1136:
-----------------------------------
sorry for the delay, I didnt receive any notification of the previous message.
log is as follows: (ant run via hudson, but result is the same regardless).
[ivy:retrieve] downloading
http://myhudsonhost:8080/job/myprojdep2-test/lastSuccessfulBuild/artifact/trunk/dist/myprojdep2.jar
...
[ivy:retrieve] downloading
http://myhudsonhost:8080/job/myprojdep1-test/lastSuccessfulBuild/artifact/trunk/dist/myprojdep1.jar
...
[ivy:retrieve] ... (71kB)
[ivy:retrieve] [SUCCESSFUL ]
abc.com.com#myprojdep1;work...@hudsonartifacts!myprojdep1.jar (33ms)
[ivy:retrieve] :: resolution report :: resolve 10186ms :: artifacts dl 155ms
[ivy:retrieve] :: evicted modules:
[ivy:retrieve] junit#junit;4.0 by [junit#junit;4.4] in [default]
[ivy:retrieve] junit#junit;3.8.2 by [junit#junit;4.0] in [default]
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 20 | 3 | 0 | 2 || 18 | 1 |
---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] [FAILED ]
abc.com.com#myprojdep2;work...@hudsonartifacts!myprojdep2.jar: The HTTP
response code for
http://myhudsonhost:8080/job/myprojdep2-test/lastSuccessfulBuild/artifact/trunk/dist/myprojdep2.jar
did not indicate a success. See log for more detail. (17ms)
[ivy:retrieve] [FAILED ]
abc.com.com#myprojdep2;work...@hudsonartifacts!myprojdep2.jar: The HTTP
response code for
http://myhudsonhost:8080/job/myprojdep2-test/lastSuccessfulBuild/artifact/trunk/dist/myprojdep2.jar
did not indicate a success. See log for more detail. (17ms)
[ivy:retrieve] ==== hudsonartifacts: tried
[ivy:retrieve]
http://myhudsonhost:8080/job/myprojdep2-test/lastSuccessfulBuild/artifact/trunk/dist/myprojdep2.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: FAILED DOWNLOADS ::
[ivy:retrieve] :: ^ see resolution messages for details ^ ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] ::
abc.com.com#myprojdep2;work...@hudsonartifacts!myprojdep2.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> 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.