I did finally get some time to set-up and try the new Sametime 7.5.1 version with the recently released Sametime 7.5.1 Software Development Kit (SDK).
Since there is no updated IBM Redbook of “Extending Sametime 7.5” available yet I’d like to outline some of the changes when setting up the Integrated Development Environment (IDE) with Eclipse 3.2.2.
Very little to nothing has been changed in the general procedure outlined below:
- Installation of the IBM Lotus Sametime 7.5.1 SDK
- Installation of Eclipse 3.2.2
- Installation of the J9 Java Development Tools (JDT) for Eclipse
- Configuration of the run time environment
- Configuration of the target platform
- Creation of the launch configuration
The Sametime 7.5.1 SDK has been linked before on this side. The installation is not different to the installation of the 7.5 SDK and it is not required to remove the previous version as long as the new software development kit will be placed into a different directory.
Lotus Sametime 7.5.1 is based on the Eclipse 3.2.2 Rich Client Platform (RCP). Therefore it is not required to have the 3.2 binaries available any more to overcome the compatibility issues described before. The Eclipse SDK can be downloaded from the Eclipse home page.
Nothing has changed in regards to the J9 JDT plug-in. Whereas the IBM provided link in the book has been discontinued. I am wondering how long my link to the current version might survive.
So far a lot hat has been common between the previous and the new version. The first major difference can be discovered while adding the J9 runtime environment. The three Java archives harmony_regex.jar, nio.jar and sound.jar have been moved to the same directory (jclMax) as the other libraries. The string library, which contained 3 string classes is not part of the packet any more.
The target platform will of course be the program directory of the Sametime Connect Client 7.5.1. Do not forget to add the Eclipse archives
as additional source code locations for the target development environment.
So far the final step would be the creation of the Sametime launch configuration. As far as I am aware nothing needs to be changed in here. So the arguments for the java application launcher in windows would still be
Xint -Xtrace:none -Xgcpolicy:gencon
Explaination to the Java launcher options can be found in the Java Development Kit (JDK) documentation.
The information provided in this article are based on the IBM Redbook Extending Sametime 7.5 – Building Plug-ins for Sametime while considering the amendments required to work with the most recent program versions as well as SDK.