Please note: This is an extension of my Configure Eclipse 3.4 for Notes 8.5.1 to work with Notes 8.5.3. If you’re running Ubuntu please see the “old” (Notes 8.5) guidelines for information on how to configure Ubuntu for Notes/Eclipse Java development. If issues please let me know.
When using the below description see you need to know three pieces of information for your Notes installation: install_id, rcp.base_version and rcp.path. Below is a table with this information for various releases on Notes.
Notes version | Description |
Notes 8.5.3 GOLD |
install_id=131779316645 rcp.base_version=6.2.3.20110915-1350 rcp.home=<Notes binary diretory>\framework |
The binary Notes directory is in my Windows example C:\Notes8 and in my Ubuntu example /opt/ibm/lotus/notes.
Step-by-step instructions (Windows)
- Download the latest build of Eclipse 3.5 from eclipse.org.
- Unzip and make the Eclipse IDE ready.
- Note the install path of your Notes 8.5. If you have a space in the path name I suggest using the 8:3 name instead (e.g. c:\progra~1\notes8 instead of c:\Program Files\Notes8). In the following I will refer to this location as <Notes>.
- Start Eclipse 3.5
- Add the Notes 8.5 JVM
- Select “Window\Preferences” from the menu
- Select “Java\Installed JREs”
- Click “Add”
- Select “Standard VM”
- Specify <Notes>\jvm
- Name the JVM “Notes 8.5.2”
- Click “Finish”
- Click “OK”
- Configure the target platform
- Select “Window\Preferences” from the menu
- Select “Plug-in Development\Target Platform”
- Check “Group plug-ins by location”
- In the location field specify “<Notes>\framework\rcp\eclipse”
- Click the “Reload” button
- Click the “Add…” button
- Select “File System” and click Next
- Click the “Add…” button and navigate to “<Notes>\framework\shared\eclipse”
- Now your target platform should look like this
- Click OK
- Create a launch configuration
- Click the arrow next to the Run button (the green arrow) and select “Run Configurations…”
- Right-click “Eclipse Application” and select “New”
- “Main”-tab
- Name: Notes 8.5.1
- Run a product: com.ibm.notes.branding.notes
- Runtime JRE: Notes 8.5
- “Arguments”-tab
- Program arguments:
-personality com.ibm.rcp.platform.personality -product com.ibm.notes.branding.notes -debug -console
- VM arguments:
-Xshareclasses -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}\rcp\plugin_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.EclipseLogHook -Dosgi.framework.extensions=com.ibm.rcp.core.logger.frameworkhook -Xbootclasspath/a:${rcp.home}\rcp\eclipse\plugins\com.ibm.rcp.base_${rcp.base_version}\rcpbootcp.jar;
- Click the “Variables…” button
- Click the “Edit Variables…” button
- Add the following variables
- install_id=(see table above)
- rcp.base_version=(see table above)
- rcp.home=(see table above)
- Click “OK”
- Click “Cancel”
- Program arguments:
- “Plug-ins”-tab
- Launch with: plug-ins selected below only
- “Configuration”-tab
- Configuration file: Use an existing config.ini file as a template
- Location: <Notes>\Data\workspace\.config\config.ini
- Click “Apply”
- Click “Close”
Resources