Configuring the target platform
The target platform refers to the Eclipse product (for example, Eclipse RCP, Lotus Notes®, or Lotus® Expeditor Client) against which the plug-in you are developing will be compiled and tested.
By default the target platform is Rational® SDP itself, therefore no configuration is necessary for Eclipse RCP.
To configure the target platform for Lotus Notes® (or Lotus® Expeditor), perform the following steps.
- Install Lotus Notes® (or Lotus® Expeditor) on the same development workstation as Rational® SDP.
- From the Rational® SDP menu bar select Window > Preferences > Plug-in Development > Target Platform and click Add.
- Select Nothing: Start with an empty target definition and click Next.
- On the Target Content page, enter a target name, for example,
Lotus Notes, orLotus Expeditor, and click Add. - On the Add Content page, select Directory and click Next.
- The target definition you are creating consists of Lotus
Notes® (or Lotus® Expeditor) plug-ins,
shared plug-ins, and HATS runtime plug-ins. On the Add
Directory page do the following:
- Click Browse and browse for the Lotus
Notes® (or Lotus® Expeditor) base plug-ins.
For Lotus
Notes® browse to, for example,
C:\Program Files\IBM\Lotus\Notes\framework\rcp\eclipse. For Lotus® Expeditor browse to, for example,C:\Program Files\IBM\Lotus\Expeditor\rcp\eclipse. Click Finish. - On the Target Content page, click Add.
- On the Add Content page, select Directory and click Next.
- Click Browse and browse for the Lotus
Notes® (or Lotus® Expeditor) shared plug-ins.
For Lotus
Notes® browse to, for example,
C:\Program Files\IBM\Lotus\Notes\framework\shared\eclipse. For Lotus® Expeditor browse to, for example,C:\Program Files\IBM\Lotus\Expeditor\shared\eclipse. Click Finish. - The HATS runtime plug-ins cannot be added here. The HATS Toolkit copies the runtime plug-ins when you change the target platform and the plug-ins are not already installed in the target platform. This occurs in a later step.
- Click Browse and browse for the Lotus
Notes® (or Lotus® Expeditor) base plug-ins.
For Lotus
Notes® browse to, for example,
- On the Target Content page, click Finish.
- On the Preferences - Target Platform page, select the
box for the newly created target definition, ensure it is designated
as
Active, and click OK. - The HATS runtime plug-ins are now installed into the target platform and you are asked to reload the target platform. See Installing runtime plug-ins for how to reload the target platform. Click OK.