[
https://issues.apache.org/jira/browse/IVY-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070518#comment-13070518
]
Tom McGlynn commented on IVY-1136:
----------------------------------
I am also interested in this issue. It appears Jason didn't reply with
headers. Here is what wget gives me:
C:\apache-ivy-2.2.0\src\example>wget -nv -d -s http://gryx64bld1.englab.local:80
80/view/vulcan/job/gry-client-master-ci/lastSuccessfulBuild/artifact/output/inst
allers/Release/x86/Gry.Client.Vulcan.Module.msm
DEBUG output created by Wget 1.5.3.1 on Windows.
parseurl ("http://gryx64bld1.englab.local:8080/view/vulcan/job/gry-client-master
-ci/lastSuccessfulBuild/artifact/output/installers/Release/x86/Gry.Client.Vulcan
.Module.msm") -> host gryx64bld1.englab.local -> port 8080 -> opath view/vulcan/
job/gry-client-master-ci/lastSuccessfulBuild/artifact/output/installers/Release/
x86/Gry.Client.Vulcan.Module.msm -> dir view/vulcan/job/gry-client-master-ci/las
tSuccessfulBuild/artifact/output/installers/Release/x86 -> file Gry.Client.Vulca
n.Module.msm -> ndir view/vulcan/job/gry-client-master-ci/lastSuccessfulBuild/ar
tifact/output/installers/Release/x86
Created fd 1892.
---request begin---
GET /view/vulcan/job/gry-client-master-ci/lastSuccessfulBuild/artifact/output/in
stallers/Release/x86/Gry.Client.Vulcan.Module.msm HTTP/1.0
User-Agent: Wget/1.5.3.1
Host: gryx64bld1.englab.local:8080
Accept: */*
---request end---
HTTP/1.0 200 OK
Server: Winstone Servlet Engine v0.9.10
Last-Modified: Fri, 22 Jul 2011 22:17:35 GMT
Expires: Fri, 22 Jul 2011 22:17:35 GMT
Accept-Ranges: bytes
Content-Type: application/octet-stream
Content-Length: 22285824
Connection: Close
Date: Mon, 25 Jul 2011 14:23:40 GMT
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)
Closing fd 1892
10:23:43 URL:http://gryx64bld1.englab.local:8080/view/vulcan/job/gry-client-mast
er-ci/lastSuccessfulBuild/artifact/output/installers/Release/x86/Gry.Client.Vulc
an.Module.msm [22285824/22285824] -> "Gry.Client.Vulcan.Module.msm" [1]
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira