You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Dave <da...@gmail.com> on 2008/09/12 11:46:28 UTC

Usage of status with publish and resolve

Hey all,I'm trying to use statuses in a manner that I'm not sure they were
intended for.
I have a project of revision X. For revision X I have two seperate builds.
One integration testing and one system testing build.
The integration testing build numbers are incremented in a seperate counter
to the system testing build.
So while I may be on build 18444 for integration testing, the system testing
build could be on something like 334.
This makes it difficult to publish both builds to an Ivy repository. I want
to be able to publish artifacts from both builds, and I though Ivy statuses
might be able to help.
I would like to publish to a repo with the following pattern:
[organisation]/[module]/[revision]/[status]/[artifact]-[ext]

I realize I could hard-code a value in <dependency revconstraint=""/> to
tell ant to pick a revision of a particular status, but how can I
differentiate locations when publishing artifacts of the same revision but a
different status?
I want to be able to use the same ivy.xml for both projects and request an
integration or system resolve from within ant. Is there no easy way to do
this?

Any help is appreciated.

Regards,
Dave



-- 
"A lot of people are afraid of heights. Not me, I'm afraid of widths."