NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
kevin.haghighat
Joined: 08 May 2012 Posts: 2 Location: Canada
|
Posted: Tue May 08, 2012 6:15 am Post subject: Capturing Build Events via Plugin |
|
|
Hi All,
I'm new to NetBeans but been Java coding for many years.
I need to create a plugin that accesses compile/build time events. Here's a list of what I want to be able to grab:
- compile fail/pass
- compile error/warning message
- redundant compile (I've got the sudo-code if no straight forward way exists)
- source code size and/or content
I've gone through some of the tutorials and know how to make menus and action buttons but not sure how to get the events I need to get from the IDE.
Any and all help is greatly appreciated.
Kevin. |
|
| Back to top |
|
 |
akochnev
Joined: 29 Sep 2010 Posts: 62
|
Posted: Tue May 08, 2012 10:08 pm Post subject: Re: Capturing Build Events via Plugin |
|
|
Kevin,
|
|
| Back to top |
|
 |
emi
Joined: 14 Aug 2009 Posts: 151
|
Posted: Wed May 09, 2012 6:25 am Post subject: Re: Capturing Build Events via Plugin |
|
|
I've tried something similar with nbnotify.com but there was no public API for what I wanted. There is a lot of reflection there.
AntLogger might help (I didn't know about it) but I guess it won't work with Maven-based projects?
--emi
On Wed, May 9, 2012 at 1:08 AM, Alex Kotchnev <address-removed ([email]address-removed[/email])> wrote:
|
| Back to top |
|
 |
Jesse Glick Posted via mailing list.
|
Posted: Wed May 09, 2012 9:20 pm Post subject: Re: Capturing Build Events via Plugin |
|
|
On 05/09/2012 02:24 AM, Emilian Bold wrote:
| Quote: | AntLogger might help (I didn't know about it) but I guess it won't work
with Maven-based projects?
|
Correct. There is a similar SPI for Maven builds (OutputProcessorFactory) but it is only exposed to friend modules currently. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|