Hi,

On Jan 19, 2010, at 10:46 AM, Antoine Toulme wrote:

A wild guess - I think it would be easier to find buildr. Right now, you
have to make sure it is in the path.

That's true.

Then, it would also be worthwhile to be able to specify which version of
buildr you use for your project.

You can do this with a shell command:

$ buildr _1.3.3_ --version
Buildr 1.3.3
$ buildr _1.3.5_ --version
Buildr 1.3.5
$ buildr _3.9.0_ --version
/Library/Ruby/Site/1.8/rubygems.rb:827:in `report_activate_error': RubyGem version error: buildr(1.3.3 not = 3.9.0) (Gem::LoadError)
        from /Library/Ruby/Site/1.8/rubygems.rb:261:in `activate'
        from /Library/Ruby/Site/1.8/rubygems.rb:68:in `gem'
        from /usr/bin/buildr:18

However, I usually don't -- I have lots of builds for the same project (trunk, current stable, nightly distributions for both, integration tests for both) and it would be a pain to have to change all of them whenever I switch buildr versions. Easier just to upgrade buildr on the system and be done with it.


And finally ... well how do they do it for ant ?

I have found the specific ant configuration process in hudson cumbersome and always just used the default one (i.e., the one on the path). I'll grant that it might be helpful if you have a large hudson deployment with many projects, though.

Thanks for the reply.

Rhett


On Tue, Jan 19, 2010 at 08:39, Rhett Sutphin <[email protected] >wrote:

Hi,


On Jan 19, 2010, at 10:17 AM, Antoine Toulme wrote:

Anders, how about filing a bug to buildr for coding and documenting a
Hudson
support ?

I think quite a few people would have a use for it.

The shell command might be good enough though. We also use it for our
Hudson-based builds.


I also use shell commands to run buildr builds in hudson. I'm not sure how plugin would be better -- what are people thinking the benefits would be?

Rhett



Thanks,

Antoine

On Tue, Jan 19, 2010 at 01:43, Anders Janmyr <[email protected]
wrote:

Ok, thats what I thought.

Thanks for your help.

Anders

On Tue, Jan 19, 2010 at 10:06 AM, Martin Grotzke
<[email protected]> wrote:

Hi Anders,

we have configured buildr as "Execute shell", with command:
buildr clean test checkstyle:xml

Cheers,
Martin


On Tue, 2010-01-19 at 09:20 +0100, Anders Janmyr wrote:

Hi Martin,

How are you using it? Are you running buildr as a system command or
are you calling the
command differently.

Can you mail me a sample configuration file?

Anders

On Tue, Jan 19, 2010 at 9:16 AM, Martin Grotzke
<[email protected]> wrote:

Hi,

we're using hudson and it's working fine with buildr.

Cheers,
Martin


On Tue, 2010-01-19 at 08:50 +0100, Anders Janmyr wrote:

Hi,

I am planning to use Buildr in a project which will use Java and

JRuby modules.

We are planning to use Hudson as an integration server, but I

couldn't find any

support for Buildr with it.

I know I can just run it as a normal script, but I am still curious.

What CI do you guys use when building with Buildr?

Regards
Anders









--
http://anders.janmyr.com/




Reply via email to