Setting retrieveRevision to HEAD

Skip to first unread message


Aug 12, 2011, 8:56:54 PM8/12/11
to ivysvn

Multiple asynchronous development teams are leveraging the same ivy
settings file. Each individual development team should access the
HEAD of the ivy repository until they are ready to release. Then to
ensure reproducible builds, they should record the current Ivy
repository revision and use that value as the retrieveRevision
attribute value before they tag their release. Since I don't want
teams to have to edit the shared ivy settings file directly, I would
like to set the retrieveRevision to the value of ant property that can
be overridden by the individual development teams. The default for
this ant property should be the equivalent to the HEAD revision. I
tried using HEAD as the attribute value but got the error below
probably cause an integer is expected.

impossible to configure ivy:settings with given file:
java.text.ParseException: failed to load settings from file:
impossible to set retrieveRevision to HEAD on class

I also tried setting the revision to a maximum integer value, but I
got an error that the specified revision did not exist.

Is there a way to set the retreiveRevision attribute such that it will
point to the HEAD of the repository like it was omitted?


Mass Dosage

Aug 17, 2011, 5:07:44 AM8/17/11
Hey Eric,

I'm not quite sure I understand what you are trying to do here. These
"HEAD" versions of your artifacts - how and when do they get
published? The way we do this, is during development we set the
version numbers to "latest.integration" which Ivy then resolves to
whatever it considers as the most recent version. We develop against
this, and then, when we're ready to do a release we set the version
numbers to the specific versions of each artefact.



> --
> You received this message because you are subscribed to the Google Groups "ivysvn" group.
> To post to this group, send email to
> To unsubscribe from this group, send email to
> For more options, visit this group at

Reply all
Reply to author
0 new messages