You are on page 1of 4

SnnT: Configure Eclipse 3.4.2 for Lotus Notes 8.5.

Written by Bastian Wieczorek


Thursday, 17 December 2009 00:00

This short howto should explain how to prepare a system which could be used to build eclipse
plugins.

Requirements:

- Windows XP Servicepack 2
- Lotus Notes Admin & Designer Client 8.5.1
- Eclipse 3.4.2
- (Optional: 1.5.0.22 Sun Java SDK VM)

Click on "Read More" to read the complete article.

1.) Prepare the System.

1. Download the latest build of Eclipse 3.4 from eclipse.org (currently its 3.4.2).
2. Unzip eclipse to "C:Eclipse".
3. Install the Lotus Notes Admin & Developer client to "C:LotusNotes".
4. Now you could start Eclipse.

Note: If you couldn´t start eclipse because of a missing Java VM install the 1.5.0.22 Sun Java

1/4
SnnT: Configure Eclipse 3.4.2 for Lotus Notes 8.5.1

Written by Bastian Wieczorek


Thursday, 17 December 2009 00:00

SDK VM.

2.) Add the Lotus Notes JVM to Eclipse

1. Select "WindowPreferences" from the menu


2. Select "JavaInstalled JREs"
3. Click "Add"
4. Select "Standard VM"
5. Click the browse button and browse to the "JVM" directory in your Lotus Notes
Installation. For me this is "C:LotusNotesjvm"
6. Name the JVM "Notes 8.5"
7. In "Default VM Arguments" specify "-Xint"
8. Click "Finish"
9. Click "OK"

3.) Configure the target platform in Eclipse

1. Select "WindowPreferences" from the menu


2. Select "Plug-in DevelopmentTarget Platform"
3. Check "Group plug-ins by location"

2/4
SnnT: Configure Eclipse 3.4.2 for Lotus Notes 8.5.1

Written by Bastian Wieczorek


Thursday, 17 December 2009 00:00

4. In the location field specify "C:LotusNotesframeworkrcpeclipse"


5. Click the "Reload" button
6. Click the "Add..." button
1. Select "File System" and click Next
2. Click the "Add..." button and navigate to "C:LotusNotesframeworksharedeclipse"

3. Now your target platform should have two entrys.


4. Click OK

4.) Create a launch configuration

1. Click the arrow next to the Run button (the green arrow) and select "Run
Configurations..."
2. Right-click "Eclipse Application" and select "New"
3. "Main"-tab
1. Name: Notes 8.5
2. Run a product: com.ibm.notes.branding.notes
3. Runtime JRE: Notes 8.5

4. "Arguments"-tab
1. Program arguments:
-personality com.ibm.rcp.platform.personality
-product com.ibm.notes.branding.notes
-debug
-console
2. VM arguments:
-Xshareclasses

3/4
SnnT: Configure Eclipse 3.4.2 for Lotus Notes 8.5.1

Written by Bastian Wieczorek


Thursday, 17 December 2009 00:00

-Drcp.home=${rcp.home}
-Dcom.ibm.rcp.install.id=${install_id}
-Drcp.install.config=user
-Dosgi.install.area=${rcp.home}eclipse
-Dcom.ibm.pvc.osgiagent.core.logfileloc=${rcp.home}rcp
-Dcom.ibm.pvc.webcontainer.port=0
-Declipse.pluginCustomization=${rcp.home}rcpplugin_customization.ini
-Declipse.registry.nulltoken=true
-Djava.protocol.handler.pkgs=com.ibm.net.ssl.www.protocol
-Djava.util.logging.config.class=com.ibm.rcp.core.internal.logger.boot.LoggerConfig
-Dosgi.hook.configurators.exclude=org.eclipse.core.runtime.internal.adaptor.EclipseLogHo
ok
-Dosgi.framework.extensions=com.ibm.rcp.core.logger.frameworkhook
-Xbootclasspath/a:${rcp.home}rcpeclipsepluginscom.ibm.rcp.base_${rcp.base_version}rcp
bootcp.jar;
3. Click the "Variables..." button
4. Click the "Edit Variables..." button
5. Add the following variables
- install_id=1255551475820
- rcp.base_version=6.2.1.20090925-1604
- rcp.home=C:LotusNotesframework

- Click "OK"
- Click "Cancel"

- "Plug-ins"-tab
1. Launch with: plug-ins selected below only

2. "Configuration"-tab
1. Configuration file: Use an existing config.ini file as a template
2. Location: C:LotusNotesDataworkspace.configconfig.ini

3. Click "Apply"
4. Click "Close"

Source from: http://lekkimworld.com/pages/eclipse34_notes851.html with minimal changes so that it fits to my environment and that I could use
this content as basis for other howtos.

4/4

You might also like