Jul 30, 2012

GUI-Searchdialog for maven dependencies in NetBeans

In one of our last projects, we used maven as a build management tool.

My colleagues used Eclipse and I was jealous about the processing of the pom.xml.
There was a GUI displaying the content of the pom and thy had also a dialog
to search for the exact coordinates of the necessary dependency.

Yesterday I view a screencast from Adam Bien about Mocking without interfaces.

During the screencast I saw, that he used a GUI dialog to search for the
maven dependency without knowing the group and artifact ID in NetBeans.

I have a 7.2 version installed and here,
  • I open the pom.xml, 
  • right click into the editor
  • select "insert code"
  • select "Dependency"
and get the following dialog:


After inserting "mockito" into the Query-field, the "Search Results" show the
found artifacts and after selecting the artifact, the maven parts are filled in
and can be adjusted.

Jul 25, 2012

NetBeans 7.2 Released -> Installed on OpenIndiana 151a5

NetBeans 7.2 is released. It has
  • improved performance,
  • FindBugs directly integrated into the IDE
  • Editor works during parsing
  • .... 
Installation and start on OpenIndiana 151a5 and Solaris 10 was no problem.

Have a look at a Video,which the NetBeans Group on Facebook posted:

https://www.facebook.com/photo.php?v=253192944798401

Jul 19, 2012

graphical/ UI editor for XSD in NetBeans

I was looking for a graphical / UI editor of XML Schema files ( XSD ) in the
IDE NetBeans.
After some looking, I found in the blog of Geertjan Wielenga a hint to a
plugin, which is working in NetBeans 7.2 rc1:


It is also possible to change the tree display of the elements







Jul 4, 2012

Update of OpenIndiana 151a4 to prestable5

Update was nearly no problem. I had a mono-Package from opensolaris still installed, which causes a problem now, but 
just uninstalling it, let the update run through: 
 

root@solewer:~# pkg update
            Packages to update: 1143  
       Create boot environment:  Yes
Create backup boot environment:   No


PHASE                                          ITEMS
Indexing Packages                          1325/1325
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1143/1143   7290/7290  454.7/454.7

PHASE                                        ACTIONS
Removal Phase                              7680/7680
Install Phase                              7755/7755
Update Phase                             11733/11733

PHASE                                          ITEMS
Package State Update Phase                 2286/2286
Package Cache Update Phase                 1143/1143
Image State Update Phase                         2/2
Reading Existing Index                           8/8
Indexing Packages                          1143/1143
Optimizing Index...

PHASE                                          ITEMS
Indexing Packages                          1325/1325

A clone of oi151a4-1 exists and has been updated and activated.
On the next boot the Boot Environment oi151a4-2 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.


Reboot worked without problems.