90 likes | 244 Views
Developing Plugins for SameTime Connect 7.5. Jian Min JIANG jiangjm@cn.ibm.com Lotus ISV Technical Enablement China Software Development Lab. Deploying plug-ins for Sametime 7.5. Deploying Custom Plug-ins to IBM Lotus Sametime Connect Users Deploying Plug-ins Automatically
E N D
Developing Plugins for SameTime Connect 7.5 Jian Min JIANG jiangjm@cn.ibm.com Lotus ISV Technical Enablement China Software Development Lab
Deploying plug-ins for Sametime 7.5 • Deploying Custom Plug-ins to IBM Lotus Sametime Connect Users • Deploying Plug-ins Automatically • Deploying Plug-ins Manually Through Sametime Connect • Configuring Plug-ins • Setting Automatic Plug-in Update Preferences • Installing Plug-Ins Through the Preferences.ini File • Disabling Manual Plug-in Installs Through the Sametime Connect Client
Deploying Custom Plug-ins to IBM Lotus Sametime Connect Users • Auto provision plug-ins: • The plug-in is automatically downloaded to the client when the user launches Lotus Sametime Connect. The user is notified of the update and can have the client restart automatically to load the new plug-in • Manually install plug-ins: • Post your plug-in on an Eclipse update site and instruct users to install the plug-in using the Lotus Sametime Connect Manage Updates User Interface.
Deploying plug-ins automatically • Step 1: Prepare your plug-in for deployment. • Step 2: Create a Feature. • Step 3: Create an Eclipse Deployment Web site. • Step 4: Configure the Sametime Server. • 1. Open stconfig.nsf on the Sametime server. • 2. Edit the Community Client Document. • 3. Add the URL to the Eclipse Deployment Web site, • 4. Restart your Sametime server.
Deploying plug-ins manually through Sametime Connect • Select File → Manage Updates → Download Plugins.... • Click Search for New Features to Install • Enter the Name and URL for server site • Select the plug-ins to install • Select to Show the latest version of a feature only. • Select a feature to install • Click Change location to select a different location to which to install it or leave the default.
Deploying a plug-in through copying files • 1. Export the plug-in JAR file from Eclipse. • 2. Copy the exported plug-in JAR file to the <sametime-root>/eclipse/plug-in directory, where <sametime-root> is the directory in which the Sametime client is installed. • 3. If the Connect Client is currently running, restart it to detect the plug-in.
Configuring plug-ins • 1. Click File → Manage updates → Configure. • 2. In the navigator, click the name of the plug-in configuration you want to view or change. • 3. Optional: Click the plus sign (+) beside the plug-in name to select the installation location or specific plug-ins whose configuration you want to view or change. • 4. Click the task you want to perform. • 5. Click the X to close the Product Configuration window.
Installing plug-ins through the preferences.ini file • plugins\com.ibm.collaboration.realtime.update_1.0.0\preferences.ini • 1. The Sametime client starts. • 2. The Sametime client searches for the existence of the server property, which is the Eclipse Update Site URL, in the Community Client Document, in stconfig.nsf. • 3. If the key is not found, the client searches the preferences.ini for the adminUpdatePolicyURL value. If it is there, the client will handle it as though it came from the server attributes.
Disabling manual plug-in installs through theConnect Client • 1. On the server machine, open the \Lotus\Domino\sametime.ini file. • 2. Under the [config] section, add the following line: DisableConnectPluginUpdates=1 • 3. Restart the server and reconnect with the client.