Gregg's Netbeans Page

This is my netbeans page. I've placed source an .NBM files for some simple modules that I've written here.

If you have any questions or comments please send them to me at gregg@wonderly.org.


Perforce SCM Access in Netbeans

This module provides the basics for using perforce in netbeans. It provides a toolbar on the editor for .java files, and a global menu for access to the same functions on other file types.
Perforce Netbeans-6.7 Plugin v2.0.5 - 06/05/2009
You can download the zip of the Module sources and the netbeans 6.7 module binary.
Perforce Netbeans-6.5 Plugin v2.0.5 - 05/11/2009
You can download the zip of the Module sources and the netbeans 6.5 module binary.
Perforce Netbeans-6.1 Plugin v2.0.5 - 05/11/2009
You can download the zip of the Module sources and the netbeans 6.1 module binary.
Perforce Netbeans-6.0 Plugin v1.0.2 - 12/05/2007
Project zip for Module and the netbeans 6.0 module binary.
Perforce Netbeans-5.0 Plugin v1.0.2 - 4/15/2006
Source zip for Module and the netbeans module binary.


Checkout Action in Editor

The Checkout action shown in the editor toolbar below will allow you to quickly check out a file for edit.


Diff Action in Editor

The diff action in the editor toolbar provides access to the graphical diff displayed through the p4merge tool.


The p4merge tool shows graphical diffs as depicted below.


Submit Action in Editor

The submit action submits the single file corresponding to the file currently being edited.


Add Action in Editor

The add action will add the currently edited file to perforce.


Revert Action in Editor

The revert action prompts the user for confirmation of the revert, and provides the ability to view the edits that have occured via the p4merge based differences viewed as shown above.


Global Versioning->Perforce Sub-Menu

The global Versioning menu has a Perforce submenu which provides access to the perforce operations on all other file types that can be shown in the editor.


File Context Perforce Menu

The popup, editor context menu also includes a perforce menu to show the perforce operations there as well.


This is a simple module without a lot of flare, and it certainly won't be helpful in renaming and other refactoring operations at this time. But, hopefully it will be extended over time to be more fully integrated with netbeans.

v2.0.3 Notes

This version adds the use of the -d argument to the p4 command line so that the P4CONFIG environment variable can be set, for example to P4CONFIG=.p4context, and that file, can be placed at roots of repositories to target depot operations at specific instances, clients etc associated with a particular depot. Look at
P4CONFIG docs for more information if you are not familar with this facility.

v2.0.1 Notes

This version was a bug fix to a 2.0 EventThread usage issue.

v2.0.0 Notes


v1.0.2 Notes

This version contains some new functionality:

Splitable output window
The output window now has two panes that can be shown together, or separately. The splitting can be selected as either horizontal or vertical as well. Use the context menu in the output window to select the options you want.
Three new actions for project add, edit and submit.
These three new actions function on the "project" node in the navigator tree to allow you to do bulk checkout, add or submit.

v1.0.0 Notes

This was the first release that I posted information on netbeans mailing lists about. It's primative, but provides some help in managing simple, operations.