Installing the Composite Application Component Library in Eclipse
Category Composite Application Component Library Eclipse
Bookmark :
The Composite Application Component Library is a collection of sample components provided by IBM. The library can be found on the OpenNTF.org site here.
This article will show you how to import the source code for the components into Eclipse so you can see exactly how they work.
There are two steps. Firstly we install the components into the Notes 8 client. Then the source code is imported into Eclipse.
Installing the components in Notes 8
Installing the Source Code in Eclipse
Now that the components are installed In Notes we can import the source code into Eclipse.
Bookmark :
The Composite Application Component Library is a collection of sample components provided by IBM. The library can be found on the OpenNTF.org site here.
This article will show you how to import the source code for the components into Eclipse so you can see exactly how they work.
There are two steps. Firstly we install the components into the Notes 8 client. Then the source code is imported into Eclipse.
Installing the components in Notes 8
- Download the latest version of ComponentLibrary.zip from OpenNTF.org here.
- Extract ComponentLibrary.nsf The password is in the readme.
- The ComponentLibrary.nsf database is an Eclipse Update Site database which is based on the Eclipse Update Site (8) template (updatesite.ntf) that comes as part of Notes 8.
- Make a replica in your local data directory.
- In Notes 8 select File -> Application -> Install. If you can't see the Install menu option follow these instructions.
- Select the Search for new features to install option and click Next >.
- Create a new Remote Update Site that points to nrpc:/__852573710072208D/site.xml
- Select the Utility Components feature, click Next > and click all the right options to allow the installation to continue.
- Once the installation has finished you will be prompted to restart the Notes 8 client. The components are now installed in Notes.
Installing the Source Code in Eclipse
Now that the components are installed In Notes we can import the source code into Eclipse.
- From the Eclipse main menu select File -> Import...
- Select the Plug-in Development -> Plug-ins and Fragments option and click Next >.
- In the Import Plug-ins dialog de-select the The Target platform option and browse to the workspace\applications\eclipse directory within your Notes 8 data directory. The default for this will be C:\Program Files\IBM\Lotus\Notes\Data\workspace\applications\eclipse.
- Select the Projects with source folders option and click Next >.
- The next page of the dialog will show a list of Plug-ins found. Select all those which start with com.ibm.cademo. and click on the Add --> button.
- Click on the Finish button.
- All the selected plug-ins are imported into the current Eclipse workspace. The Package Explorer view shows all the plug-ins and their source code.