buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grotzke <>
Subject How to define a task for all subprojects
Date Fri, 12 Jun 2009 15:00:13 GMT

is it possible to define a task project wide, so that it's available to
each submodule?

In my case I want to define checkstyle once and have it available in
each submodule. It would be great if I could invoke
  buildr checkstyle
directly in the submodule.

Is this possible without creating an extension?

I'm already trying to create a Checkstyle extension that uses ant
internally (ant('checkstyle') do |ant| ant.taskdef ...), but with this
buildr complains about "undefined method `ant'"...

Thanx for your help,

View raw message