<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>lekkimworld.com - SnTT category</title>
  <link>http://lekkimworld.com/categories/sntt/</link>
  <description>a blog about lotus notes, domino, sametime, expeditor and a whole lot of java...</description>
  <language>en</language>
  <copyright>Mikkel Heisterberg (mh [at] intravision [dot] dk</copyright>
  <lastBuildDate>Thu, 18 Mar 2010 11:36:25 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://pebble.sourceforge.net/common/images/powered-by-pebble.gif</url>
    <title>lekkimworld.com (SnTT category)</title>
    <link>http://lekkimworld.com/</link>
  </image>
  
  
  <item>
    <title>Show &#039;n Tell Thursday: Configuring Ubuntu for Notes 8 plugin development (2 April 2009)</title>
    <link>http://lekkimworld.com/2009/04/02/show_n_tell_thursday_configuring_ubuntu_for_notes_8_plugin_development_2_april_2009.html</link>
    
      
        <description>
          &lt;p&gt;
&lt;img src=&#034;http://lekkimworld.com/images/domino/show-n-tell/showandtellthursdays_small.jpg&#034; style=&#034;float: right; margin: -10px 0 10px 10px;&#034; /&gt;
This weeks SnTT post is about configuring Eclipse on Ubuntu 8.0.4 for Notes plug-in development. I use Notes 8.5 but it should work equally well for Notes 8.0.x clients. Wan&#039;t to develop plug-ins? Well read on and do it on Ubuntu. Notes 8.x runs freakishly fast on Ubuntu. Read on...
&lt;/p&gt;
&lt;p&gt;
Actually this is a cheat post as the steps are almost the same as for doing it on Windows. Most of the stuff has to do with platform differences. My post for doing it on Windows is &lt;a href=&#034;http://lekkimworld.com/pages/eclipse34_notes85.html&#034;&gt;here&lt;/a&gt;. I have updated this guide with steps for Linux. Enjoy!!
&lt;/p&gt;

        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2009/04/02/show_n_tell_thursday_configuring_ubuntu_for_notes_8_plugin_development_2_april_2009.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2009/04/02/show_n_tell_thursday_configuring_ubuntu_for_notes_8_plugin_development_2_april_2009.html</guid>
    <pubDate>Thu, 02 Apr 2009 12:29:16 GMT</pubDate>
  </item>
  
  <item>
    <title>Show &#039;n Tell Thursday: SWT drag&#039;n&#039;drop in Notes 8.0.x and Notes 8.5 (19 February 2009)</title>
    <link>http://lekkimworld.com/2009/02/20/show_n_tell_thursday_swt_dragndrop_in_notes_8_0_x_and_notes_8_5_19_february_2009.html</link>
    
      
        <description>
          &lt;p&gt;
&lt;img src=&#034;http://lekkimworld.com/images/domino/show-n-tell/showandtellthursdays_small.jpg&#034; style=&#034;float: right; margin: -10px 0 10px 10px;&#034; /&gt;
This weeks SnTT post is about adding drag&#039;n&#039;drop of Lotus Sametime buddies in the Notes 8.0.x Standard and Notes 8.5 Standard client in SWT plug-ins. Unfortunately the Sametime API for dragging buddies around changed between Sametime 8.0.0 and Sametime 8.0.1 so you have to take this into account when developing drag&#039;n&#039;drop functionality that works across Notes 8.0.x and Notes 8.5. Read on...
&lt;/p&gt;
&lt;p&gt;
As mentioned in my &lt;a href=&#034;http://lekkimworld.com/2009/02/19/dragndrop_in_swt_components.html&#034;&gt;Drag&#039;n&#039;drop in SWT components&lt;/a&gt; post drag&#039;n&#039;drop uses a socalled Transfer classes to signal which types of data a drag source delivers and a drop target accepts. To allow Sametime buddies to dropped on your component you use PersonGroupTransfer class but this class changed package from Sametime 8.0.0 to Sametime 8.0.1... :-(
&lt;/p&gt;
&lt;p&gt;
In Sametime 8.0.0 (Notes 8.0.x) the class is com.ibm.collaboration.realtime.people.PersonGroupTransfer and in Sametime 8.0.1 (Notes 8.5) the class is com.ibm.collaboration.realtime.people.PersonGroupTransfer (do not mind that the Sametime 8.0.0 class is in an &#034;internal&#034; package as it is exported from the plug-in). This means that if you develop a plug-in that needs to run on both Notes 8.0.x and Notes 8.5 you need to factor the drag&#039;n&#039;drop support out into two separate plug-ins and match based on perfect version numbers of the com.ibm.rcp.collaboration.realtime.people.impl plug-in. 
&lt;/p&gt;
&lt;p&gt;
It&#039;s a bit cumbersome but it works fine.
&lt;/p&gt;

        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2009/02/20/show_n_tell_thursday_swt_dragndrop_in_notes_8_0_x_and_notes_8_5_19_february_2009.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2009/02/20/show_n_tell_thursday_swt_dragndrop_in_notes_8_0_x_and_notes_8_5_19_february_2009.html</guid>
    <pubDate>Fri, 20 Feb 2009 08:58:40 GMT</pubDate>
  </item>
  
  <item>
    <title>Show &#039;n Tell Thursday: Easy access to Lotus Connections Profiles translation files (21 August 2008)</title>
    <link>http://lekkimworld.com/2008/08/21/show_n_tell_thursday_easy_access_to_lotus_connections_profiles_translation_files_21_august_2008.html</link>
    
      
        <description>
          &lt;p&gt;
&lt;img src=&#034;http://lekkimworld.com/images/domino/show-n-tell/showandtellthursdays_small.jpg&#034; style=&#034;float: right; margin: -10px 0 10px 10px;&#034; /&gt;
This weeks SnTT post is about Lotus Connections and how to more easily get access to and change the translation files for the UI of the Profiles feature.
&lt;/p&gt;
&lt;p&gt;
Configuring which pieces of information are surfaced in the Profiles feature is pretty easy and well documented using the profiles-config.xml file. Changing the label text however is harder and not that easy to do. &lt;a href=&#034;http://publib.boulder.ibm.com/infocenter/ltscnnct/v2r0/index.jsp?topic=/com.ibm.lc_2.0_IC/r_admin_profiles_feature_property_files.html&#034;&gt;As it&lt;/a&gt; &lt;a href=&#034;http://publib.boulder.ibm.com/infocenter/ltscnnct/v2r0/topic/com.ibm.lc_2.0_IC/t_admin_profiles_edit_property_files.html&#034;&gt;is documented&lt;/a&gt; it involves stopping profiles, locating a jar-file, extracting it using WinZip, changing a properties file, repackaging the jar-file, redeploying the jar-file and finally restarting profiles to see the change. This is well and good and acceptable if you only need to change the file once, but chances are that it&#039;s an iterative process and you need to do it multiple times. Wouldn&#039;t it be easier to simply stop profiles, change the file and restart profiles? Well read on to see how.
&lt;/p&gt;
&lt;p&gt;
The labels for the fields (and all the other pieces of text for that matter) in Profiles are stored in property files in a jar-file in the Profiles application. Changing the property files for the appropriate language causes the text to change in the UI after a restart of the Profiles application. This is easy enough but require a lot of repeated steps every time since you have to unpack the jar-file, change the property file and repack the jar-file.
&lt;/p&gt;
&lt;p&gt;
Since Profiles is just another Java web application we can move some of the classes and property files out of the jar-file (in the &#034;lib&#034;-directory) and into the &#034;WEB-INF/classes&#034;-directory. This means that we only have to repack the jar-file once and for all since the property files are now available from the &#034;classes&#034;-directory.
&lt;/p&gt;
&lt;p&gt;
On your Websphere Application Server where the Profiles feature is installed (with Profiles stopped) do the following using a file explorer:
&lt;ol&gt;
&lt;li&gt;Open the profile directory for the profile you&#039;re using&lt;/li&gt;
&lt;li&gt;Open the installedApps directory and the node directory underneath it (chances are that there&#039;s only one node directory)&lt;/li&gt;
&lt;li&gt;Open the Profiles.ear directory&lt;/li&gt;
&lt;li&gt;Open the peoplepages.war directory&lt;/li&gt;
&lt;li&gt;Open the WEB-INF directory&lt;/li&gt;
&lt;li&gt;Create a new directory called &#034;classes&#034;, and inside this directory create a com/ibm/peoplepages/webui directory (a total of 4 directories)&lt;/li&gt;
&lt;li&gt;Open the lib directory and locate the peoplepages.web.jar file and make a backup copy of this file&lt;/li&gt;
&lt;li&gt;Now unzip the jar-file (maybe renaming it to a zip-file first), navigate through the directories to com/ibm/peoplepages/webui and &lt;u&gt;move&lt;/u&gt; the resources folder to the &#034;classes/com/ibm/peoplepages/webui&#034;-directory you created above&lt;/li&gt;
&lt;li&gt;Navigate back to the extracted jar-file and zip the &#034;com&#034; and &#034;META-INF&#034; directories back up into peoplepages.web.jar and overwrite the peoplepages.web.jar file you located in step 7&lt;/li&gt;
&lt;/ol&gt;
Now you should have replaced the original peoplepages.web.jar file with a new one and have a directory containing the resource files.
&lt;/p&gt;
&lt;p&gt;
Now when ever you need to change a label for a field simply locate the label or text you would like to change in the property files underneath WEB-INF/classes/com/ibm/peoplepages/webui/resources and restart Profiles.
&lt;/p&gt;
&lt;p&gt;
Please note that the above probably isn&#039;t supported by IBM... :-)
&lt;/p&gt;

        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2008/08/21/show_n_tell_thursday_easy_access_to_lotus_connections_profiles_translation_files_21_august_2008.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/08/21/show_n_tell_thursday_easy_access_to_lotus_connections_profiles_translation_files_21_august_2008.html</guid>
    <pubDate>Thu, 21 Aug 2008 10:28:23 GMT</pubDate>
  </item>
  
  <item>
    <title>Show &#039;n Tell Thursday: Cross compiling sidebar plugins for Notes 8.0.x and Notes 8.5 (7 August 2008)</title>
    <link>http://lekkimworld.com/2008/08/07/show_n_tell_thursday_cross_compiling_sidebar_plugins_for_notes_8_0_x_and_notes_8_5_7_august_2008.html</link>
    
      
        <description>
          &lt;p&gt;
&lt;img src=&#034;http://lekkimworld.com/images/domino/show-n-tell/showandtellthursdays_small.jpg&#034; style=&#034;float: right; margin: -10px 0 10px 10px;&#034; /&gt;
I haven&#039;t done a SnTT in months (actually the last one was back on 24 May 2007) so I guess it&#039;s about time. This week it&#039;s about cross compiling sidebar plugins for Notes 8.5 and Notes 8.0.2. Enjoy...
&lt;/p&gt;
&lt;p&gt;
Since installing Notes 8.5 I have had a lot of trouble developing in Eclipse 3.4 for Notes 8.5 and having the plugins work in Notes 8.0.x as well. The problem showed itself as a NullPointerException when trying to load the plugin Activator and a &#034;Viewpart is null&#034; message in the Notes UI. Looking at the log trace showed a class incompatibility message (&#034;bad major version at offset=6&#034;).
&lt;/p&gt;
&lt;p&gt;
So far I have been screaming my lungs out, developing in Eclipse 3.4 and building the plugins in a virtual machine with Eclipse 3.2 as I couldn&#039;t get plugins to work otherwise. Now I finally found a solution that lets me develop in Eclipse 3.4 and having the plugins work in Notes 8.0.x and Notes 8.5.
&lt;/p&gt;
&lt;p&gt;
The issue is that Eclipse 3.4 configured with Notes 8.5 as a target platform is using Java 6 and that Notes 8.0.x is using Java 5 which causes class format problems. The solution is to set the required execution environment in Eclipse 3.4 which will cause Eclipse to build correctly. Setting the required execution environment (J2SE-1.5) is done in the &#034;Overview&#034;-tab of the MANIFEST.MF editor as shown below.
&lt;/p&gt;
&lt;p align=&#034;center&#034;&gt;
&lt;img src=&#034;http://lekkimworld.com/images/notes85/eclipse34_execution_environment.jpg&#034; /&gt;
&lt;/p&gt;
&lt;p&gt;
Using the GUI is of cause just a shorthand for editing the manifest manually. As an alternative you can edit your META-INF/MANIFEST.MF file directly and add the following line:
&lt;pre&gt;
Bundle-RequiredExecutionEnvironment: J2SE-1.5
&lt;/pre&gt;
Please note that this is not the default value when creating new plugins in Eclipse 3.4 so you&#039;ll have to pay attention and make sure it&#039;s set correctly. This is of cause only necessary if your plugins need to work on Notes 8.0.x as well as Notes 8.5.
&lt;/p&gt;
&lt;p&gt;
Thanks to Pierre Carlson from IBM for pointers on this.
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2008/08/07/show_n_tell_thursday_cross_compiling_sidebar_plugins_for_notes_8_0_x_and_notes_8_5_7_august_2008.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/08/07/show_n_tell_thursday_cross_compiling_sidebar_plugins_for_notes_8_0_x_and_notes_8_5_7_august_2008.html</guid>
    <pubDate>Thu, 07 Aug 2008 07:28:38 GMT</pubDate>
  </item>
  
  <item>
    <title>Show &#039;n Tell Thursday: Showing a progress bar / joining threads (24 May 2007)</title>
    <link>http://lekkimworld.com/2007/05/24/show_n_tell_thursday_showing_a_progress_bar_joining_threads_24_may_2007.html</link>
    
      
      
        <description>
          &lt;p&gt;
Well it has been a long time since my last SnTT post so here we go. This post is on showing a progress bar from a Java agent while loading data in another thread. This post is based on a &lt;a href=&#034;http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllFlatWeb/DA9E9DEC434209C5852572E3002807D3?OpenDocument&amp;ca=drs-fo&#034;&gt;post&lt;/a&gt; on developerWorks.
&lt;/p&gt;
&lt;p&gt;
Technorati tags: &lt;a href=&#034;http://technorati.com/tag/Show-n-tell+Thursday&#034; rel=&#034;tag&#034;&gt;Show-n-tell Thursday&lt;/a&gt;, &lt;a href=&#034;http://technorati.com/tag/SnTT&#034; rel=&#034;tag&#034;&gt;SnTT&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://lekkimworld.com/2007/05/24/show_n_tell_thursday_showing_a_progress_bar_joining_threads_24_may_2007.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Java</category>
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2007/05/24/show_n_tell_thursday_showing_a_progress_bar_joining_threads_24_may_2007.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2007/05/24/show_n_tell_thursday_showing_a_progress_bar_joining_threads_24_may_2007.html</guid>
    <pubDate>Thu, 24 May 2007 06:15:23 GMT</pubDate>
  </item>
  
  <item>
    <title>Show &#039;n Tell Thursday: The missing link for plugging Notes into you Sametime 7.5 plugin (10 January 2007)</title>
    <link>http://lekkimworld.com/2007/01/11/show_n_tell_thursday_the_missing_link_for_plugging_notes_into_you_sametime_7_5_plugin_10_january_2007.html</link>
    
      
      
        <description>
          &lt;p&gt;
Have you started developing plugins for Sametime 7.5 or are you planning to? If you are, you need to know something about the requirements for using the Notes/Domino Java API in your plugin. This post has some information about this and is an extract of an upcoming THE VIEW article on Sametime 7.5 development slated for the March/April issue.
&lt;/p&gt;
&lt;p&gt;
Technorati tags: &lt;a href=&#034;http://technorati.com/tag/Show-n-tell+Thursday&#034; rel=&#034;tag&#034;&gt;Show-n-tell Thursday&lt;/a&gt;, &lt;a href=&#034;http://technorati.com/tag/SnTT&#034; rel=&#034;tag&#034;&gt;SnTT&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://lekkimworld.com/2007/01/11/show_n_tell_thursday_the_missing_link_for_plugging_notes_into_you_sametime_7_5_plugin_10_january_2007.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Sametime</category>
    
    <category>Java</category>
    
    <category>IBM</category>
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2007/01/11/show_n_tell_thursday_the_missing_link_for_plugging_notes_into_you_sametime_7_5_plugin_10_january_2007.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2007/01/11/show_n_tell_thursday_the_missing_link_for_plugging_notes_into_you_sametime_7_5_plugin_10_january_2007.html</guid>
    <pubDate>Thu, 11 Jan 2007 15:14:36 GMT</pubDate>
  </item>
  
  <item>
    <title>Show &#039;n Tell Thursday: Removing the slash screen from Sametime 7.5 (5 October 2006)</title>
    <link>http://lekkimworld.com/2006/10/05/show_n_tell_thursday_removing_the_slash_screen_from_sametime_7_5_5_october_2006.html</link>
    
      
      
        <description>
          &lt;p&gt;
In this installment of SnTT I&#039;m going to focus on Sametime 7.5 and the slash screen which takes forever to disappear. Since I&#039;m running Sametime 7.5 from my startup folder on Windows the slash screen is really annoying. There is a solution however - let&#039;s remove it/not show it...
&lt;/p&gt;
&lt;p&gt;
Technorati tags: &lt;a href=&#034;http://technorati.com/tag/Show-n-tell+Thursday&#034; rel=&#034;tag&#034;&gt;Show-n-tell Thursday&lt;/a&gt;, &lt;a href=&#034;http://technorati.com/tag/SnTT&#034; rel=&#034;tag&#034;&gt;SnTT&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://lekkimworld.com/2006/10/05/show_n_tell_thursday_removing_the_slash_screen_from_sametime_7_5_5_october_2006.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Sametime</category>
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2006/10/05/show_n_tell_thursday_removing_the_slash_screen_from_sametime_7_5_5_october_2006.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2006/10/05/show_n_tell_thursday_removing_the_slash_screen_from_sametime_7_5_5_october_2006.html</guid>
    <pubDate>Thu, 05 Oct 2006 11:54:21 GMT</pubDate>
  </item>
  
  <item>
    <title>Show &#039;n Tell Thursday: Don&#039;t rely on the default font-size (28 Sept 2006)</title>
    <link>http://lekkimworld.com/2006/09/28/show_n_tell_thursday_dont_rely_on_the_default_font_size_28_sept_2006.html</link>
    
      
      
        <description>
          &lt;p&gt;
Do not rely on the default font being Default Sans-serif and the default fontsize being 10pt when doing Notes programming. There are situations where this wont be true.
&lt;/p&gt;
&lt;p&gt;
Technorati tags: &lt;a href=&#034;http://technorati.com/tag/Show-n-tell+Thursday&#034; rel=&#034;tag&#034;&gt;Show-n-tell Thursday&lt;/a&gt;, &lt;a href=&#034;http://technorati.com/tag/SnTT&#034; rel=&#034;tag&#034;&gt;SnTT&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://lekkimworld.com/2006/09/28/show_n_tell_thursday_dont_rely_on_the_default_font_size_28_sept_2006.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>SnTT</category>
    
    <comments>http://lekkimworld.com/2006/09/28/show_n_tell_thursday_dont_rely_on_the_default_font_size_28_sept_2006.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2006/09/28/show_n_tell_thursday_dont_rely_on_the_default_font_size_28_sept_2006.html</guid>
    <pubDate>Thu, 28 Sep 2006 05:56:41 GMT</pubDate>
  </item>
  
  </channel>
</rss>
