191 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Preventing pasting of remotely hosted images in CKEditor
Mon, Nov 14th 2016 2
Preventing Pasting of Images in CKEditor
Mon, Nov 14th 2016 6
Controlling the order of Script Resources (e.g. Jquery) with a Custom ViewRootRenderer
Mon, Sep 19th 2016 6
Review: JRebel with Domino OSGi development
Mon, Sep 5th 2016 3
Extended Messages Control available as an XspLibrary
Tue, Jul 12th 2016 5
Webmail UI – You must learn about MIME
Wed, Apr 20th 2016 2
Tips for Creating a Webmail UI with XPages
Tue, Apr 19th 2016 5
Top 10
Uploading Plugins Headlessly to Open Eclipse Update Site
Sat, Jul 18th 2015 6
Controlling the order of Script Resources (e.g. Jquery) with a Custom ViewRootRenderer
Mon, Sep 19th 2016 6
Preventing Pasting of Images in CKEditor
Mon, Nov 14th 2016 6
Whoops, wrong server! - Customise the Domino Server Console
Tue, Apr 8th 2014 5
Tips for Creating a Webmail UI with XPages
Tue, Apr 19th 2016 5
Extended Messages Control available as an XspLibrary
Tue, Jul 12th 2016 5
XPages PhoneNumber Control - Part 1 Creating a Converter
Wed, Feb 18th 2015 4
Build Automation for XPages Presentation Slides - AUSLUG/Inform 2015
Thu, Jun 11th 2015 4
Setting up JRebel for XPages OSGi Plugin Development
Wed, Nov 4th 2015 4
Uploading Plugins Headlessly to Open Eclipse Update Site
Sat, Jul 18th 2015 3


Domino Debug Plugin - Fix for Eclipse Luna
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

When developing OSGi plugins for Notes/Domino I use the XPages SDK for Eclipse OpenNTF project which makes setting up your Target Platform and Java Runtime-Environment a breeze.


Also included in the project's releases section is the Domino Debug Plugin. The Domino Debug Plugin (DDP) is used to create a 'start-up' OSGi configuration for your Domino server. This configuration instructs Domino to include the plugins that you are working on in your eclipse workspace. This allows you to avoid building update sites and deploying your plugins for every time you want to test them.

Used in conjunction with 'Remote Java Application' debugging, this can give you an increase in productivity if it suits the way you like to develop. For minor changes you can edit your java code and click save, and the new class will be refreshed on the server. For major changes such as new classes and member variables, you will be prompted that you will need to restart the application (restart task http).

The Eclipse project has released Eclipse Luna (4.4) which is now the current version of eclipse. Unfortunately the DDP does not work with Eclipse Luna as there has been some changes to the PDE (Plugin-Development Environment) classes that are referenced by the DDP.

I am already stuck on Eclipse Ganymede with Domino Designer and I don't want to be stuck on Eclipse Kepler for Plugin development! So I decided to see if I could make the necessary changes to the Domino Debug Plugin to allow it to work with Eclipse Luna. (Hooray for Open Source!)

It turns out the were only 3 minor changes to make. Some of the method signatures of PDE Classes had changed slightly so I modified the code to match the new signatures.

After installing the new version of the plugin (1.0.1) I am  happy to report the DDP is back in business.

I have made the changes available on Github at camac/DominoDebugPlugin, you can see them in the commit history. So if you would like Domino Debug Plugin for Eclipse Luna, head over there and download release 1.0.1, using the updatesite to install into Eclipse Luna.

 Let me know via the GitHub repository's issues page if you have success or failure! If it works for other people too I will submit to the OpenNTF project for release through that proper channel.



---------------------
http://www.gregorbyte.com/2014/09/domino-debug-plugin-fix-for-eclipse-luna.html
Sep 23, 2014
2 hits



Recent Blog Posts
2
Preventing pasting of remotely hosted images in CKEditor
Mon, Nov 14th 2016 11:21p   Cameron Gregor
In the previous post, I showed how to prevent a user from pasting Images from the Clipboard into CKEditor. This post is of a similar nature but is designed to ensure that users don’t paste images with URLs to external / internal applications. This post is part of my XPages webmail tips series, and addresses a problem where, a user copies and pastes some HTML that includes images, from a webpage and pastes it into CKEditor for a message that is then sent via email. The recipient is then una
6
Preventing Pasting of Images in CKEditor
Mon, Nov 14th 2016 12:43a   Cameron Gregor
In the process of developing our XPages ‘Webmail’ interface, we discovered that many recipients were unable to view embedded images in the emails. After investigating, it was caused by the images being embedded using Data URIs. Support for Data URI Images is not universal, and because it is supported in IBM Notes, everything looked like it was working ok, but a quick test viewing an email in Gmail confirmed a problem when images could not be seen. What is a Data URI? You are most lik
6
Controlling the order of Script Resources (e.g. Jquery) with a Custom ViewRootRenderer
Mon, Sep 19th 2016 9:28a   Cameron Gregor
When loading Client Side Javascript libraries in XPages, sometimes the order that the libraries are ‘encoded’ (or written in HTML) in the tag is important. For example jQuery and some of it’s plugins can have some issues if Dojo is encoded first. By default in XPages you don’t have too much say in what is written out first, a nifty workaround for this has been shared by Sven Hasselbach (here and here) which utilises the lesser known tag. This workaround ensures t
3
Review: JRebel with Domino OSGi development
Mon, Sep 5th 2016 11:53p   Cameron Gregor
Last year I finally figured out how to use JRebel with Domino, and I posted a how-to video. I thought I would do a quick follow up to say how it’s going. It is going great! I can’t imagine giving back my JRebel license. I have gone entire days without restarting my http server. If you are only developing xpages from within an NSF, and don’t do any OSGi plugin development, then you really don’t have much need for JRebel. But if you are involved in any OSGi Library developm
5
Extended Messages Control available as an XspLibrary
Tue, Jul 12th 2016 8:49a   Cameron Gregor
A while ago I shared an Extended version of the messages control which allows for multiple messages to be displayed for a single control at the same time. Originally this was just shared as a ‘control within an NSF’. One of the problems with the control within an NSF approach is that you repeatedly get an ‘unknown tag’ compilation problem which eventually goes away after a ‘project clean’ but it is very annoying nonetheless. I receiving a request to package
2
Webmail UI – You must learn about MIME
Wed, Apr 20th 2016 10:14a   Cameron Gregor
If you were like me, you spent many years developing classic Notes applications before making the switch to XPages. If this was the case, you were no doubt comfortable with the notion of a RichText field. You probably even occasionally did some RichText manipulation in LotusScript, adding Paragraphs and formatting using RichTextStyles and RichTextNavigators, attaching Files using EmbeddedObjects. And then XPages comes along, and says “If you want to edit any RichText through XPages, it i
5
Tips for Creating a Webmail UI with XPages
Tue, Apr 19th 2016 8:38a   Cameron Gregor
Over the past year my main project has been an XPages application for project-related Email correspondence, with formal document management thrown it as well and a bunch of Action Item / comment functionality surrounding it all. Developing the application as it’s own email client presented a few different challenges that may not be encountered in normal xpages development. Along the way I have come across a few different gotchas that I thought I better make record of, both the the benefit
3
My Slides from AUSLUG 2016 Presentations
Fri, Apr 15th 2016 2:45a   Cameron Gregor
This year at AUSLUG I presented 2 sessions. ‘Anatomy of a UI Control’ and ‘Using Source Control for Domino Development’. I have just uploaded the slides to the AUSLUG community and thought I would also share to the wider world! Slides and description of sessions are below. If you have any questions please let me know! I hope to share more about extension library / control development soon. Anatomy of a UI Control This session was designed to just spark a bit of curiosity
3
Associating *.theme and *.xsp-config with Eclipse XML Editor
Wed, Mar 9th 2016 2:47a   Cameron Gregor
When you do XPages OSGi Library development in eclipse, you will often have to edit xml files (or xhtml) that have a different file extension than .xml These are files such as XPages theme files with the .theme extension, and Xsp control configuration files with the .xsp-config extension. Unfortunately these file extensions are not associated with the XML Editor by default and this causes undesirable behaviour when you double-click them to open them for editing. When you attempt to open a .theme
1
Inspect Component Properties using Component Binding
Tue, Mar 8th 2016 3:14a   Cameron Gregor
Inspired by Paul Withers recent component binding post, I discovered another use for component binding whilst I was preparing for my upcoming presentation ‘Anatomy of a UI Control’ this Thursday at AUSLUG. In my presentation I demonstrate how to determine a component’s Component Family and it’s Renderer Type which are both essential to determine which renderer is selected for the component by XPages. It is extremely similar purpose to a technique that was previously dem




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition