buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: Questions on howto build a new Buildr plugin
Date Tue, 17 Apr 2012 00:37:05 GMT

On Tue, Apr 17, 2012 at 5:38 AM, Niklaus Giger
<> wrote:
> I am trying to create a Buildr plugin for creating IzPack installers.
> I tried to follow the schema outlined at
> and stumbled over the following problems:

ooer - I had not seen that before.

> a) I think instead of using braid it would make more sense to use git
> submodules, which would allow an easy upgrade path to an up-to-date Buildr
> version

I haven't looked at this example directly but I find braid as a much
much better solution for keeping things up to date. I also find it
quite easy to switch between versions.  i.e. keeping it uptodate is
simply "braid update buildr"

> and would not pollute a new (probably quite small) plugin with all the
> buildr stuff.

Thats an unfortunate effect - I agree. IIRC braid is setup to use a
squash strategy when mergin in the other tree which lessens the impact
to some degree.

One of the big negatives of braid is that it did not work well on
windows without a few local hacks.

> Therefore I would propose to replace there the lines about using braid with
> somethink like this:
>> git clone git://  buildr
>> # If you want to switch to specific tag/branch use
>> cd buildr && git checkout  --force 1.4.6 && cd ..
>> git submodule add ~/git/buildr buildr
>> Using git submodules is documented under:

I would maybe both of them as options and outline the various
strengths/weaknesses of both approaches. I would still tend to use
braid but each to their own ;)


Peter Donald

View raw message