ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <>
Subject Re: Getting value of defaultBranch from Ant?
Date Mon, 27 Aug 2007 08:35:53 GMT
On 8/27/07, dtayl <> wrote:
> Greetings -
> I'm modifying our Ivy-based build system, to add support for
> building/releasing from a branch. When the branch is created,
> defaultBranch is set on the branch, so that artifacts are published to
> the branch. Dependencies are generally resolved from fixed versions
> bound during the release that the branch was created from (similar to
> the scheme described in Mathias' survey).
> The ant task that publishes a module integration also echoes the module
> version to a script used to deploy that module. When publishing to a
> branch, the script will need the branch name also. But I have not found
> documentation of an ivy variable storing the value of defaultBranch. Is
> there some way to get the value of defaultBranch from Ant?

No, I don't think so. But what you can do is use an Ant property as
defaultBranch, so that it's accessible from Ant too.
in Ant:
<property name="ivy.default.branch" value="branchA" />

in Ivy:

Does it answer your needs?


> dtayl

Xavier Hanin - Independent Java Consultant

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message