Hudson Support in NetBeans IDE

13 messages Options
Embed this post
Permalink
Michal Mocnak

Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Hi,

there is available the first preview of the support for Hudson
integration in NetBeans IDE. Now you are able to register and control
state of any hudson instance. You can download it from project page
http://nbmodules.dev.java.net. Thanks.

-michal

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Kohsuke Kawaguchi

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Wow! This is great.

I'll be test driving it soon. This works with NB5.5, right?

How are you obtaining the data from Hudson? By using the XML API?

2007/4/11, Michal Mocnak <[hidden email]>:

> Hi,
>
> there is available the first preview of the support for Hudson
> integration in NetBeans IDE. Now you are able to register and control
> state of any hudson instance. You can download it from project page
> http://nbmodules.dev.java.net. Thanks.
>
> -michal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jesse Glick

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
In reply to this post by Michal Mocnak
Michal Mocnak wrote:
> there is available the first preview of the support for Hudson
> integration in NetBeans IDE. Now you are able to register and control
> state of any hudson instance. You can download it from project page
> http://nbmodules.dev.java.net.

Cute! Seems to work fine in NB 6.

By the way, ask [hidden email] to add the nbmodules.d.j.n update
center to the contrib/extraupdatecenters module.

-J.

--
[hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
             http://google.com/search?q=e%5E%28pi*i%29%2B1

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Sven Reimers

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
And register at plugins.netbeans.org - if you like!

Really great!

Any further plans?

-Sven

On 4/11/07, Jesse Glick <[hidden email]> wrote:

> Michal Mocnak wrote:
> > there is available the first preview of the support for Hudson
> > integration in NetBeans IDE. Now you are able to register and control
> > state of any hudson instance. You can download it from project page
> > http://nbmodules.dev.java.net.
>
> Cute! Seems to work fine in NB 6.
>
> By the way, ask [hidden email] to add the nbmodules.d.j.n update
> center to the contrib/extraupdatecenters module.
>
> -J.
>
> --
> [hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
>              http://google.com/search?q=e%5E%28pi*i%29%2B1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Michal Mocnak

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
In reply to this post by Kohsuke Kawaguchi
Hi all,

thanks ! Actually the plugin supports only nb60, but i guess i am able
to rebuild it for 5.5 or 5.5.1 too. We obtain data from XML API. That's
cool. And what next ? Soon (this week) i am gonna implement start job
action and also i'll try to implement some job detail view. Feel free to
send me any feedback please ;) It's first preview and the flow is from
my mind, actually if you think that something should be implemented
differently, please tell it ;))

-michal

Kohsuke Kawaguchi wrote:

> Wow! This is great.
>
> I'll be test driving it soon. This works with NB5.5, right?
>
> How are you obtaining the data from Hudson? By using the XML API?
>
> 2007/4/11, Michal Mocnak <[hidden email]>:
>> Hi,
>>
>> there is available the first preview of the support for Hudson
>> integration in NetBeans IDE. Now you are able to register and control
>> state of any hudson instance. You can download it from project page
>> http://nbmodules.dev.java.net. Thanks.
>>
>> -michal
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jesse Glick

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Michal Mocnak wrote:
> It's first preview and the flow is from my mind, actually if you
> think that something should be implemented differently, please tell
> it

Some random ideas for features that may or may not be useful:

1. Use the IDE's Diff view to show all source code changes made in a
build. (Means you need some way to map the VCS repository used by Hudson
to local sources, unless you can run diffs straight from the server.)

2. Add an action to a build to display its build log in the IDE's Output
Window (including live output, for a running build); hyperlink any
errors to local sources (again needs VCS mapping).

3. For those users without proper commit triggers set up, permit a
project build to be scheduled automatically after committing changes
from certain sources in the IDE. In principle the module could figure
out the association automatically, for CVS and Subversion at least.

4. Browse the Hudson workspace as a remote r/o filesystem, e.g. for
diagnosis of strange build failures. (Could also be integrated with #2.)

5. Add an action to the context menu of an IDE project (Ant- or
Maven-based) to create a Hudson project which builds it.

-J.

--
[hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
             http://google.com/search?q=e%5E%28pi*i%29%2B1

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Kohsuke Kawaguchi

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Looks like I'm looking at a lot of additions to the remote API. Good
thing I reimplemented that last night.

In addition to what Jesse listed, I have...

1. show some balloon notification icon (like the one Windows uses)
when I made a change and that broke the build.

2. integrate with the junit test result. Show the failed tests in the
table, hyperlink all stack trace elements, and let me re-run those
tests locally quickly.

Now downloading NB6.0 to try this in action...

2007/4/12, Jesse Glick <[hidden email]>:

> 1. Use the IDE's Diff view to show all source code changes made in a
> build. (Means you need some way to map the VCS repository used by Hudson
> to local sources, unless you can run diffs straight from the server.)
>
> 2. Add an action to a build to display its build log in the IDE's Output
> Window (including live output, for a running build); hyperlink any
> errors to local sources (again needs VCS mapping).
>
> 3. For those users without proper commit triggers set up, permit a
> project build to be scheduled automatically after committing changes
> from certain sources in the IDE. In principle the module could figure
> out the association automatically, for CVS and Subversion at least.
>
> 4. Browse the Hudson workspace as a remote r/o filesystem, e.g. for
> diagnosis of strange build failures. (Could also be integrated with #2.)
>
> 5. Add an action to the context menu of an IDE project (Ant- or
> Maven-based) to create a Hudson project which builds it.
>
> -J.
>
> --
> [hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
>              http://google.com/search?q=e%5E%28pi*i%29%2B1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Kohsuke Kawaguchi

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Kohsuke Kawaguchi wrote:
> Now downloading NB6.0 to try this in action...

I downloaded milestone 8 but that didn't work. So I had to install the
latest daily build.

More RFEs:

1. You should check the connectivity of the URL, and if it's indeed
Hudson. When you hit the top page of Hudson, it sends you back the
"X-Hudson" header with version number in it, so you can use that to
determine if the specified URL is indeed Hudson or not.

2. Some kind of filtering of jobs would be nice. I have way too many
jobs on my Hudson, and I'm not interested in all of them. So perhaps
support for view, or maybe you can use the people page to limit jobs to
the jobs that I recently committed.

3. yellow icon looks more like green to me.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]


smime.p7s (4K) Download Attachment
Michal Mocnak

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Thanks for feedback. Actually i built the module on nb latest sources (i
plan to be functional with milestone 9).

And now what i plan to implement soon:

Snapshot 2 (released today):
- start job action implemented

Snapshot 3 (tommorow):
- check for hudson instance in add instance wizard
- changing of icons

Snapshot 4 (sunday):
- job detail view

Snapshot 5 (end of the next week):
- job filtering

All features what were mentioned i'll plan to implement but the remote
api has to be upgraded. This is the first preview what you have in your
hands ;) Thanks for the great feedback. I hope it will be usable plugin
for hudson users ;)

-michal

Kohsuke Kawaguchi wrote:

> Kohsuke Kawaguchi wrote:
>> Now downloading NB6.0 to try this in action...
>
> I downloaded milestone 8 but that didn't work. So I had to install the
> latest daily build.
>
> More RFEs:
>
> 1. You should check the connectivity of the URL, and if it's indeed
> Hudson. When you hit the top page of Hudson, it sends you back the
> "X-Hudson" header with version number in it, so you can use that to
> determine if the specified URL is indeed Hudson or not.
>
> 2. Some kind of filtering of jobs would be nice. I have way too many
> jobs on my Hudson, and I'm not interested in all of them. So perhaps
> support for view, or maybe you can use the people page to limit jobs
> to the jobs that I recently committed.
>
> 3. yellow icon looks more like green to me.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Kohsuke Kawaguchi

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Michal Mocnak wrote:

> Thanks for feedback. Actually i built the module on nb latest sources (i
> plan to be functional with milestone 9).
>
> And now what i plan to implement soon:
>
> Snapshot 2 (released today):
> - start job action implemented
>
> Snapshot 3 (tommorow):
> - check for hudson instance in add instance wizard
> - changing of icons
>
> Snapshot 4 (sunday):
> - job detail view
>
> Snapshot 5 (end of the next week):
> - job filtering
>
> All features what were mentioned i'll plan to implement but the remote
> api has to be upgraded. This is the first preview what you have in your
> hands ;) Thanks for the great feedback. I hope it will be usable plugin
> for hudson users ;)
I'm planning to add a boat load of new remote API to various model
objects, so stay tuned...

With the new infrastructure I'm also planning to do the schema
generation for XML and documentation generation.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]


smime.p7s (4K) Download Attachment
Jesse Glick

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
In reply to this post by Michal Mocnak
Seems to be broken at the moment:

> java.lang.IllegalArgumentException: No enum const class org.netbeans.modules.hudson.api.HudsonJob$Color.grey
> at java.lang.Enum.valueOf(Enum.java:215)
> at org.netbeans.modules.hudson.api.HudsonJob$Color.valueOf(HudsonJob.java:33)
> at org.netbeans.modules.hudson.impl.HudsonConnector.getAllJobs(HudsonConnector.java:114)
> at org.netbeans.modules.hudson.impl.HudsonInstanceImpl$2.run(HudsonInstanceImpl.java:146)

org.netbeans.modules.hudson [0.5.1 070413]

-J.

--
[hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
             http://google.com/search?q=e%5E%28pi*i%29%2B1

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Andreas Andreou-2

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
BTW, anyone knows if this is for NB6.0 only?

On 4/14/07, Jesse Glick <[hidden email]> wrote:
Seems to be broken at the moment:

> java.lang.IllegalArgumentException: No enum const class org.netbeans.modules.hudson.api.HudsonJob$Color.grey
>       at java.lang.Enum.valueOf(Enum.java:215)
>       at org.netbeans.modules.hudson.api.HudsonJob$Color.valueOf(HudsonJob.java:33)
>       at org.netbeans.modules.hudson.impl.HudsonConnector.getAllJobs(HudsonConnector.java:114)
>       at org.netbeans.modules.hudson.impl.HudsonInstanceImpl$2.run (HudsonInstanceImpl.java:146)

org.netbeans.modules.hudson [0.5.1 070413]

-J.



--
Andreas Andreou - [hidden email] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting
Michal Mocnak

Re: Hudson Support in NetBeans IDE

Reply Threaded More More options
Print post
Permalink
Hi,

yes now it's broken due to changes in API. Wait for 60 minutes. In this
time the Snapshot 3 will be available ;o)

Actually now it's functional only on NB6.0 Milestone 9 or the latest
daily builds.

-michal

Andreas Andreou wrote:

> BTW, anyone knows if this is for NB6.0 only?
>
> On 4/14/07, *Jesse Glick* <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Seems to be broken at the moment:
>
>     > java.lang.IllegalArgumentException: No enum const class
>     org.netbeans.modules.hudson.api.HudsonJob$Color.grey
>     >       at java.lang.Enum.valueOf(Enum.java:215)
>     >       at
>     org.netbeans.modules.hudson.api.HudsonJob$Color.valueOf(HudsonJob.java:33)
>     >       at
>     org.netbeans.modules.hudson.impl.HudsonConnector.getAllJobs(HudsonConnector.java:114)
>     >       at
>     org.netbeans.modules.hudson.impl.HudsonInstanceImpl$2.run
>     (HudsonInstanceImpl.java:146)
>
>     org.netbeans.modules.hudson [0.5.1 070413]
>
>     -J.
>
>
>
>
> --
> Andreas Andreou - [hidden email] <mailto:[hidden email]> -
> http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]