ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Matzon <mat...@certus.dk>
Subject Re: Dynamic revisions question
Date Wed, 06 Aug 2008 10:09:10 GMT
Jim Christie wrote:
> I'm having some difficulty getting dynamic revisions working in
> v2.0.0-beta2.  Everything works fine as long as I specify a complete
> revision number, for example: <dependency org="commons-logging"
> name="commons-logging" rev="1.0.4" transitive="false"/>.  However, if I
> attempt to specify a dynamic revision, it won't work.
>   
I basically have the same issue - what I am seeing is:

[ivy:resolve] CLIENT ERROR: Not Found url=http://build.example.com/ivy/example/math/ivy-1.0.+.xml
[ivy:resolve] HTTP response status: 404=Not Found url=http://build.example.com/ivy/example/math/ivy-1.0.+.xml
[ivy:resolve]           tried http://build.example.com/ivy/example/math/ivy-[revision].xml
[ivy:resolve]   listing all in http://build.example.com/ivy/example/math/ivy-[revision].xml
[ivy:resolve]   using internal to list all in http://build.example.com/ivy/example/math
[ivy:resolve]           found 0 urls
[ivy:resolve]           0 matched http://build.example.com/ivy/example/math/ivy-[revision].xml
[ivy:resolve]   found revs: []
[ivy:resolve]   internal: no resource found for example#math;1.0.+: pattern=http://build.example.com/ivy/[organisation]/[module]/ivy-[revision].xml
[ivy:resolve]    trying http://build.example.com/ivy/example/math/math-1.0.+.jar
[ivy:resolve]           tried http://build.example.com/ivy/example/math/math-1.0.+.jar
[ivy:resolve] CLIENT ERROR: Not Found url=http://build.example.com/ivy/example/math/math-1.0.+.jar
[ivy:resolve] HTTP response status: 404=Not Found url=http://build.example.com/ivy/example/math/math-1.0.+.jar
[ivy:resolve]           tried http://build.example.com/ivy/example/math/math-[revision].jar
[ivy:resolve]   listing all in http://build.example.com/ivy/example/math/math-[revision].jar
[ivy:resolve]   using internal to list all in http://build.example.com/ivy/example/math
[ivy:resolve]           found 0 urls
[ivy:resolve]           0 matched http://build.example.com/ivy/example/math/math-[revision].jar
[ivy:resolve]   found revs: []
[ivy:resolve]   internal: no resource found for example#math;1.0.+: pattern=http://build.example.com/ivy/[organisation]/[module]/[artifact]-[revision].[ext]
[ivy:resolve]   internal: no ivy file nor artifact found for example#math;1.0.+
[ivy:resolve] WARN:     module not found: example#math;1.0.+
[ivy:resolve] WARN: ==== local: tried
[ivy:resolve] WARN:   ../build/plugins/ivy/local/example/math/ivy-1.0.+.xml
[ivy:resolve] WARN:   ../build/plugins/ivy/local/example/math/ivy-[revision].xml
[ivy:resolve] WARN:   -- artifact example#math;1.0.+!math.jar:
[ivy:resolve] WARN:   ../build/plugins/ivy/local/example/math/math-1.0.+.jar
[ivy:resolve] WARN:   ../build/plugins/ivy/local/example/math/math-[revision].jar
[ivy:resolve] WARN: ==== internal: tried
[ivy:resolve] WARN:   http://build.example.com/ivy/example/math/ivy-1.0.+.xml
[ivy:resolve] WARN:   http://build.example.com/ivy/example/math/ivy-[revision].xml
[ivy:resolve] WARN:   -- artifact example#math;1.0.+!math.jar:
[ivy:resolve] WARN:   http://build.example.com/ivy/example/math/math-1.0.+.jar
[ivy:resolve] WARN:   http://build.example.com/ivy/example/math/math-[revision].jar

using the following settings:

default.ivy.pattern                                      = [organisation]/[module]/ivy-[revision].xml
default.artifact.pattern                                 = [organisation]/[module]/[artifact]-[revision].[ext]

ivy.internal.default.root                                = http://build.example.com/ivy
ivy.internal.default.ivy.pattern                         = ${default.ivy.pattern}
ivy.internal.default.artifact.pattern                    = ${default.artifact.pattern}   
                                                 

ivy.local.default.root                                   = ../build/plugins/ivy/local
ivy.local.default.ivy.pattern                            = ${default.ivy.pattern}
ivy.local.default.artifact.pattern                       = ${default.artifact.pattern}


furthermore I am seeing these entries in the web server - its as if the 
actual expansion of 1.0.+ isn't happening.

-- 
Brian Matzon
Certus


Mime
View raw message