Patches to use buildr to build eclipse plugins

View: New views
9 Messages — Rating Filter:   Alert me  

Patches to use buildr to build eclipse plugins

by Ketan Padegaonkar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've been using buildr to build eclipse plugins for a few days now, and
I must say that I'm addicted to it :)

As part of making things smoother for building eclipse plugins, I've
added yet another compiler to buildr that allows building eclipse plugins.

I'm hoping that this could be useful for others and would be more than
happy to clean up the code, add tests and submit patches to the buildr
team for inclusion in buildr. Would the buildr team be interested in
taking this contribution ?

-- Ketan

Re: Patches to use buildr to build eclipse plugins

by Antoine Toulme :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ketan, this sounds like a nice thing to have. What compiler did you use ?
the JDT one ?
I am not part of the Buildr team, but I think this would make a fine
addition to Buildr.

Thanks,

Antoine

On Mon, Nov 17, 2008 at 5:59 PM, Ketan Padegaonkar <
ketanpadegaonkar@...> wrote:

> Hi,
>
> I've been using buildr to build eclipse plugins for a few days now, and I
> must say that I'm addicted to it :)
>
> As part of making things smoother for building eclipse plugins, I've added
> yet another compiler to buildr that allows building eclipse plugins.
>
> I'm hoping that this could be useful for others and would be more than
> happy to clean up the code, add tests and submit patches to the buildr team
> for inclusion in buildr. Would the buildr team be interested in taking this
> contribution ?
>
> -- Ketan
>



--
http://www.lunar-ocean.com/blog

Re: Patches to use buildr to build eclipse plugins

by Ittay Dror-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Ketan Padegaonkar wrote:

> Hi,
>
> I've been using buildr to build eclipse plugins for a few days now,
> and I must say that I'm addicted to it :)
>
> As part of making things smoother for building eclipse plugins, I've
> added yet another compiler to buildr that allows building eclipse
> plugins.
>
> I'm hoping that this could be useful for others and would be more than
> happy to clean up the code, add tests and submit patches to the buildr
> team for inclusion in buildr. Would the buildr team be interested in
> taking this contribution ?
why not create your own project (at github maybe)?

ittay
>
> -- Ketan
>

--
Ittay Dror <ittayd@...>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>



Re: Patches to use buildr to build eclipse plugins

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 17, 2008 at 8:59 AM, Ketan Padegaonkar <
ketanpadegaonkar@...> wrote:

> I'm hoping that this could be useful for others and would be more than
> happy to clean up the code, add tests and submit patches to the buildr team
> for inclusion in buildr. Would the buildr team be interested in taking this
> contribution ?


Yes, totally!

alex

Re: Patches to use buildr to build eclipse plugins

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 17, 2008 at 8:59 AM, Ketan Padegaonkar <
ketanpadegaonkar@...> wrote:

> As part of making things smoother for building eclipse plugins, I've added
> yet another compiler to buildr that allows building eclipse plugins.


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.

alex

Re: Patches to use buildr to build eclipse plugins

by Ketan Padegaonkar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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!

-- Ketan

Re: Patches to use buildr to build eclipse plugins

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 18, 2008 at 9:34 AM, Ketan Padegaonkar <
ketanpadegaonkar@...> 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

Re: Patches to use buildr to build eclipse plugins

by Ketan Padegaonkar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <
> ketanpadegaonkar@...> 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
>

Re: Patches to use buildr to build eclipse plugins

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <
ketanpadegaonkar@...> 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 <
>> ketanpadegaonkar@...> 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
>>
>>