Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Copying Felix to the newly created project

Now, remember where you uncompressed extracted the Felix release or, if you built from source, where the Felix main project subproject directory is. Move or copy these files to Go into the release directory or the main subproject directory and copy its entire contents into your project directory. You can do this any way that is easiest for you. On a Linux box you would do something like this from inside the directory where Felix resides or was builtappropriate release or main directory:

No Format
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 refresh the project. If that does not work for you (on NetBeans 6.0 it may not) just close and open it.

...

Often you will want Felix to automatically deploy some bundles that you need for your development. You can do this by modifying the "felix.auto.start.1" (or 2) property in the "config.properties" file. For more information on configuring Felix, refer to Felix' usage document.

When editing this property, the bundles can be relative or absolute file paths to the bundles you want to auto load. Also don't forget to put the line continuation marker "\" and the end of each line except the last one. In figure 13 you can see the default configuration that is shipped with Felix.

...

This document has presented one way in which you can integrate Felix with NetBeans. For any questions or feedback, feel free to send an email to rdjackson at gmail dot com or on subscribe to the Felix users mailing list users at felix dot apache dot by sending a message to users-subscribe@felix.apache.org; after subscribing, email questions or feedback to users@felix.apache.org.