Posts Tagged ‘source’

Attach source code to a Netbeans Library Wrapper Module

Friday, February 22nd, 2008

I´m new in NetBeans and today I´ve been struggling a couple of hours with the simple task of attaching the source code for an external JAR (NetBean Library Wrapper Module).

nb_add_library_wrapper.png

I´ve been trying to find in google how to do it without success until I reached this post in the netbeans-users mailing list.

Then I realized that I should been looking into the NetBeans Help first. The entry at Help -> Help contents -> Java Applications -> Debugging Applications -> Attaching Source Code to a JAR File explains how to do it.

first go to Tools->Libraries to open the Library Manager. Then click on New Library. Give it a name and select the jar. But you should be careful when adding the Library, though. You must point to the JAR file INSIDE your module library wrapper (that´s <module library wrapper folder>/release/modules/ext/) NOT to the original location of the JAR. (As pointed out in the Help -> Help contents -> Netbeans Modules -> Getting started -> Module and Rich-Client Application Tasks: Quick Reference -> Attach source code to libraries for debugging.)

nb_library_manager.png

Then you should add the library´s source folder in the Source tab of the Library in the Library Manager (you can point to the Javadoc as well).

Adding Netbeans API source navigation to your Netbeans IDE

Thursday, February 14th, 2008

It took a while to find this entry describing how to include the Netbeans APIs source code. In short, you have to download the actual sources (the link in Geertjan’s Weblog is outdated) at http://download.netbeans.org/netbeans/6.0/final/zip/ (file netbeans-*-platform-src.zip) and then link that zip file to the platform in the platform manager. Make sure that the path doesn´t contains whitespaces (it didn´t work for me).

To access the Netbeans Platform Manager just do Tools -> Netbeans Platforms

netbeansplatformmenu.png

And then click on the Sources tab and “Add Zip/Folder”

netbeansplatformsource.png

The process is documented in the Netbeans help at Help > Help Contents > Netbeans modules > Using the Netbeans api > Extending Skeleton API Implementation > Registering the NetBeans Sources and Javadoc.

Source code for Statistical Visualizer plugin for Apache Jmeter 2.2

Wednesday, January 17th, 2007

I just released the source code for the other Apache Jmeter plugin that I host here. Just go to the end of this page to download the file and get instructions.

Source code for enhanced jdbc sampler released

Wednesday, January 17th, 2007

I released the Enhanced JDBC Sampler for Apache JMeter 2.2 source code today. See the bottom of this page to find the downloadable zip and instructions.