DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
This document explains how to launch Felix inside of the Netbeans NetBeans IDE. Then, it will be possible to use Netbeans NetBeans debugging and profiling facilities on bundles.
...
To integrate Felix inside of NetbeansNetBeans, you need Felix and NetBeans and nothing else.
Installing
...
NetBeans
First, you need NetbeansNetBeans. To download the Netbeans NetBeans IDE go to http://download.netbeans.org/netbeans/6.1/final/
. This tutorial was done using Netbeans NetBeans 6.1 but it should work on Netbeans NetBeans 6.0.
Creation of the Felix binaries
To integrate Felix inside of NetbeansNetBeans, you have two options:
- Integrating the Felix release as a Java project. This is what we are going to cover in this tutorial.
- Integrating the Felix release using the Maven plugin. But this option has issues that can be resolved but it takes a little more work. This will be covered in another tutorial for those that really want to pursue it.
Using the Felix release as a Java Project
Once, Netbeans NetBeans is installed, you need to download Felix. You will find the Felix releases at http://felix.apache.org/site/downloads.cgi
. Choose a binary release in your preferred archive format. Then, unzip the release in a temporary directory. We will copy the files into our project later.
...
Creation of the Felix Java project
First launch NetbeansNetBeans. Then click on File->New->Project... as shown in Figure 1
...
Now, remember where you uncompressed the Felix release, or where the Felix main project is. Move or copy these files to your project directory. You can do this any way that is easiest for you. On my Linux box I do something like this from the location where I built Felix:
cp -r ./* /project path/
Where project path is the path to your project directory.
Once you have Moved or copied the files Collapse and expand the project. This will make Netbeans NetBeans refresh the project. If that does not work for you (on Netbeans NetBeans 6.0 it may not) just close and open it.
...
The first thing you will notice is that our new project has a red exclamation point on it. What this means is that when Netbeans NetBeans parsed the java files it could not find all the library dependencies so lets fix that up.
Right-click on the just created project and select the properties as shown in Figure 4
...
At this point you may want to make some changes to the way Felix is configured. In Netbeans NetBeans you will have to open the Files View. Expand the Felix folder and then the conf folder as shown in Figure 11 NOTE: When you see this the first time the cache folder will not be there. If you decide to make the configuration changes shown in the next section then it will be created the next time you run Felix.
...
Now that we are able to launch Felix as a Java Application we can use the debugging and profiling features built into NetbeansNetBeans. Future tutorials will go into more detail on how to do this.
...
This document has presented one way in which you can integrate Felix inside of NetbeansNetBeans. For any questions or feedback, feel free to send an email to rdjackson at gmail dot com or on the Felix mailing list users at felix dot apache dot org