Links

Custom Button

Phorm Prohibited

The contents of this site, and communications between this site and its users, are protected by database right, copyright, confidentiality and the right not to be intercepted conferred by section 1(3) of the Regulation of Investigatory Powers Act 2000.

The use of those contents and communications by Internet Service Providers or others to profile or classify users of this site for advertising or other purposes is strictly forbidden.

« | Main| New host, new website and new blog. »

Installing the Composite Application Component Library in Eclipse

Category  
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 


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

A picture named M2
  • Select the Utility Components feature, click Next > and click all the right options to allow the installation to continue.

A picture named M3
  • 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 >.

A picture named M4
  • 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 >.

A picture named M5
  • 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.

A picture named M6
  • 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.

A picture named M7

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)