What does you extension do beyond what the compiler already does? The idea is to have your code (the additional processing) hook up on existing Buildr tasks instead of overriding them.
alex On Tue, Nov 18, 2008 at 10:46 AM, Ketan Padegaonkar < [EMAIL PROTECTED]> wrote: > Hi Alex, > > I did look at the extending page. > > I did not quite understand how I'll use it in a real project, counting the > number of lines is a good example of how the extension works. I'm looking > for how it can help me, instead of writing my own compiler. > > -- Ketan > > > Alex Boisvert wrote: > >> On Tue, Nov 18, 2008 at 9:34 AM, Ketan Padegaonkar < >> [EMAIL PROTECTED]> wrote: >> >> Alex Boisvert wrote: >>> >>> Highjacking Ittay's suggestion, it might be worth sharing the code as-is >>>> so >>>> others can comment on the approach taken before you clean it up. I >>>> have >>>> a >>>> feeling it would be better to have a Buildr extension instead of a >>>> creating >>>> a new compiler. >>>> >>>> Could you elaborate a bit more on this ? I could not find too many real >>> examples or use cases of how this works, any pointers to documents or >>> real >>> code would be cool! >>> >> >> >> Did you look here? >> http://incubator.apache.org/buildr/extending.html#creating_extensions >> >> alex >> >>