I am trying to provide an autoupdate feature for a Lotus Notes 8.5.2. The plugin is being developed under Eclipse 3.4.2. So far I haven't managed to find a standard way for doing this by hooking into the Lotus Notes API. What comes to my mind are the following two approaches.
use the Eclipse p2 SDK to perform the autoupgrade at runtime (at early startup of the plugin the updater will be checking for new versions and update the plugin). This entry describes the approach -> http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_api_overview.htm. Unfortunately the SDK is not part of Eclipse 3.4.2 and I didn't manage to use this approach with 3.4.2.
use an external process that closes Lotus Notes, removes the old version of the plugin from the plugin directory of Lotus, copies the new version to the plugin directory, starts Lotus Notes again and terminates the process.
The second approach seems reasonable but requires closing of Lotus Notes during the autoupgrade process. So my question is - is there any approach similar to the first one above or any other standard procedure for Lotus Notes ? Thanks in advance.