ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frankm <frankmu...@gmail.com>
Subject Ivy Buildnumber returning bad results with Artifactory
Date Thu, 05 Feb 2009 18:53:44 GMT

I have the following Ant task defined:

<ivy:buildnumber organisation="com.cbi.mdlw" module="cb-core" /> 

and a chained resolver with an Artifactory repository. The repository
contains Version 1.0 of the 'cb-core' jar file. The buildnumber task returns
a '0' for the ivy.new.revision. Below are the debug lines from the build. 

Overriding previous definition of property "ivy.version"
Setting project property: ivy.version -> 2.0.0
[ivy:buildnumber] chained: Checking cache for: dependency:
com.cbi.mdlw#cb-core;latest.integration {}
[ivy:buildnumber] no cached resolved revision for
com.cbi.mdlw#cb-core;latest.integration
[ivy:buildnumber] no cached resolved revision for
com.cbi.mdlw#cb-core;latest.integration
[ivy:buildnumber]               tried
C:\development\builds\CBICore\echangeman\settings/repository/cb-core-[revision].jar
[ivy:buildnumber]       listing all in
C:\development\builds\CBICore\echangeman\settings/repository/cb-core-[revision].jar
[ivy:buildnumber]       using libraries to list all in
C:/development/builds/CBICore/echangeman/settings/repository
[ivy:buildnumber]               found 3 urls
[ivy:buildnumber]               0 matched
C:/development/builds/CBICore/echangeman/settings/repository/cb-core-[revision].jar
[ivy:buildnumber]       found revs: []
[ivy:buildnumber]       libraries: no resource found for
com.cbi.mdlw#cb-core;latest.integration:
pattern=C:\development\builds\CBICore\echangeman\settings/repository/[artifact]-[revision].[type]
[ivy:buildnumber]       libraries: no ivy file nor artifact found for
com.cbi.mdlw#cb-core;latest.integration
[ivy:buildnumber] no cached resolved revision for
com.cbi.mdlw#cb-core;latest.integration
[ivy:buildnumber]               tried
http://10.223.146.158:8080/artifactory/repo/com/cbi/mdlw/cb-core/[revision]/cb-core-[revision].jar
[ivy:buildnumber]       listing all in
http://10.223.146.158:8080/artifactory/repo/com/cbi/mdlw/cb-core/[revision]/cb-core-[revision].jar
[ivy:buildnumber]       using cbiRepo to list all in
http://10.223.146.158:8080/artifactory/repo/com/cbi/mdlw/cb-core/
[ivy:buildnumber] ApacheURLLister found
URL=[http://10.223.146.158:8080/artifactory/repo/com/cbi/mdlw/].
[ivy:buildnumber]               found 1 resources
[ivy:buildnumber]       found revs: [mdlw]
[ivy:buildnumber] HTTP response status: 404
url=http://10.223.146.158:8080/artifactory/repo/com/cbi/mdlw/cb-core/mdlw/cb-core-mdlw.jar
[ivy:buildnumber] CLIENT ERROR: com/cbi/mdlw/cb-core/mdlw/cb-core-mdlw.jar
not found!
url=http://10.223.146.158:8080/artifactory/repo/com/cbi/mdlw/cb-core/mdlw/cb-core-mdlw.jar
[ivy:buildnumber]       found resolved res: []
[ivy:buildnumber]       cbiRepo: no resource found for
com/cbi/mdlw#cb-core;latest.integration:
pattern=http://10.223.146.158:8080/artifactory/repo/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]
[ivy:buildnumber]       cbiRepo: no ivy file nor artifact found for
com.cbi.mdlw#cb-core;latest.integration
Setting project property: ivy.new.revision -> 0
Setting project property: ivy.new.build.number -> 0
Property "ivy.buildnumber" has not been set

I would expect the ivy.new.revision to be something other than 0. 

-- 
View this message in context: http://www.nabble.com/Ivy-Buildnumber-returning-bad-results-with-Artifactory-tp21858486p21858486.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message