Setting retrieveRevision to HEAD

8 views
Skip to first unread message

Eric

unread,
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
fm.last.ivy.plugins.svnresolver.SvnResolver

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?

Best,
-Eric

Mass Dosage

unread,
Aug 17, 2011, 5:07:44 AM8/17/11
to ivy...@googlegroups.com, efa...@gmail.com
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.

Regards,

Adrian

> --
> You received this message because you are subscribed to the Google Groups "ivysvn" group.
> To post to this group, send email to ivy...@googlegroups.com.
> To unsubscribe from this group, send email to ivysvn+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ivysvn?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages