Domino Designer and .git folder mystery
Wed, May 1st 2013 8:36a Martin Jinoch Twitter conversation about version control has brought me to the debate about .git folder appearing in NSF file and how to avoid having it there.
I remember seeing one NSF file with .git folder in it a while ago and I've deleted it from NSF without any consequences. NSF is still fine, git repository it is connected to as well. But Cameron Gregor (and probably Sean Cull too) had different experience.
Cameron was kind enough to "record" how this happens on his computer. When I was reproducing [read] Keywords: domino
Mon, Mar 25th 2013 2:12p Martin Jinoch I am writing this at Brussels airport on Sunday afternoon waiting for evening flight back to Prague. Since Wednesday when we came to Leuven to attend BLUG 2013, weather got really bad and although we have March 24 whole Brussels (and Antwerpen and I am sure more other places) are covered by snow and it is freezing out there. Yet even this really unpleasant ending could not spoil great feeling I have about this year's BLUG. In fact all previous BLUGs as well. This was my third. First one in 2011 [read] Keywords: domino
Call doc.closeMIMEEntities after touching doc.getMIMEEntity
Tue, Jan 22nd 2013 6:14a Martin Jinoch Another stupid mistake has taken a lot of my time last week. I developed a small library to provide function(s) to move attachments from rich text fields to separate db (nsf or some other). This function was supposed to be part of bigger process, so saving of document being processed was meant to happen in other code. That is why I had not tested what doc.save() would do. My tests were just checking destination db for created records containing moved files. Other part of process was developed by [read] Keywords: domino
Dynamic binding of fields bug?
Mon, Jan 21st 2013 3:32a Martin Jinoch I was developing very simple XPages component recently and because it was basically loop through a list of field names (and the task was to show something for each of them) I have used repeat control and inside of it there was custom control with properties such as fieldName (String), label (String), isRequired (boolean) and so on. In the custom control I was binding fileDownload and fileUpload controls (based on read/edit mode) to document field via EL as "document1[compositeData.fieldName]" [read] Keywords: notes
Wanna use Git (with DDE) and you're afraid of command line? Try GitHub for Windows
Fri, Jul 6th 2012 6:14a Martin Jinoch Last two blog posts were about using Git and git-flow with DDE. I use command line as main working interface when interacting with Git repositories. I am used to it, I am more productive this way.
But If you're not used to use CLI, there is GitHub for Windows available for you. Go try it!
And if Git doesn't sound familiar to you, try it in your browser, without the need to install anything.
version control [read] Keywords: interface
Using Git with Domino Designer - the hardcore way
Mon, Apr 23rd 2012 11:01a Martin Jinoch This is a first part of posts on version control with Git for Notes developers. I'm writing it as an addendum to my BLUG 2012 session "Version control for Notes developers".
Version control for Domino Designer projects - using command line Git (aka the HARDCORE way)
Designer 8.5.3 has built-in capability to link NSF/NTF files with so called on-disk projects that can be used by version control systems. That alone is not enough to successfully use version control systems directly from Designer. [read] Keywords: domino
BLUG 2012: part 2
Sat, Apr 7th 2012 11:12a Martin Jinoch Day 2: Friday
Waking up in the morning is not my hobby ("good morning" is an oxymoron for me). And after all those beers (Belgian beers are usually stronger than Czech ones, but we are used to drink 0,5l as "one beer") this morning was especially hard. But we made it to the Crown Plaza Hotel just in time to attend "How XPages became mobile" with Earmon Muldoon and Paul Withers. Combination of coffee and interesting information was a nice start of a day. Speaking about the coffee: it was gr [read] Keywords: lotus
BLUG 2012: part 1
Mon, Apr 2nd 2012 2:20a Martin Jinoch BLUG has been really good event this year. Again!
Theo is a great host, doesn't matter if you're speaker or attendee, he treats you well. Extremely well. All that chocolate in a speakers room! I was full of energy and good mood until late night hours even after the whole busy day at a conference. Splendid!
Day 0: Wednesday
Being a speaker for the first time on LUG event and presenting in English for the first time ever was kind of difficult for me. I was very shy at the opening event on Wedne [read] Keywords: connections
I will be speaking at BLUG 2012
Mon, Feb 20th 2012 4:18a Martin Jinoch At the end of each year nearly all Lotus related blogs have titles like "I will be speaking at Lotusphere...". At the end of each year I wondered why people write those blog posts. Now I think I know it. So, once more, just for my pleasure: I will be speaking at BLUG 2012 :-)
Last year I decided to attend my first foreign LUG event: BLUG 2011 in Belgium. It was really good decision (see my older blog posts - day 1, day 2 - about it) and I am extremely happy to have an opportunity to give somet [read] Keywords: lotus
New version of Egit for Domino Designer available!
Tue, Feb 7th 2012 5:11a Martin Jinoch Until we are stuck with Eclipse 3.4 under Domino Designer, using some Eclipse plugins is limited to older versions of them. But we have Nathan T. Freemam on our side (of the Force), so at least for Git plugin (EGit/JGit project) this is not true. Go grab new release of updated Git support to OpenNTF.org. Now!
Because versioning is part of standard development process. For all developers! Nobody is excused! [read] Keywords: domino
Comments should be working now
Mon, Jan 23rd 2012 2:10p Martin Jinoch There was a problem with submitting comments to this site. And by problem I mean one could not submit them at all. There is apparently a bug in Antispam module for Drupal, when it is configured for use with Akismet antispam service.
If by any chance you're running Drupal and you want to use Antispam module, use this patch to make it work again.
drupal, antispam [read] Keywords: bug
Using MongoDB instead of Domino?
Fri, Nov 18th 2011 11:07a Martin Jinoch In one of my previous posts I mentioned Play! framework. I'm now working with it almost exclusively, all of my non Notes work is in Java and when I am not dealing with SOAP web services or Android, I use Play framework. But it is not what I want to tell you about this time. It is MongoDB. It could be easily used in Play application using play-morphia plugin that uses Morphia project to map MongoDB to JPA. But again this is not what I want to talk about - although it is also very interesting :-) [read] Keywords: collaboration
Mobile controls in a new Extension Library, DomJson
Tue, Nov 15th 2011 12:52p Martin Jinoch After installing 8.5.3 and a new release of Extension Library I started to play with the Mobile controls included in it. It was originally a separate project on OpenNTF but now the controls are part of library itself. So you need 8.5.3 server (with extlib installed on it) to run apps using these controls. Thanks to new updateSite.ntf included with 8.5.3 it is now far more easier to deploy ExtLib to your server.
This version of Mobile controls seem to be running faster and on Android devices wor [read] Keywords: domino
8.5.3 SOAP Header
Fri, Oct 7th 2011 7:09a Martin Jinoch Just a quick addendum to previous post. MessageContext is available in 8.5.3 gold version too, although I did not find any documentation on it in Help, in Release Notes and in fix list database.
So this is probably "let's uncomment this and don't tell anyone" kind of fix :-)
But thanks a lot for it! [read] Keywords: ldd
Another 8.5.3 hidden gem - SOAP Header for Web Services in Lotus Domino
Fri, Aug 12th 2011 1:09p Martin Jinoch In 8.5.2 you can not get handle of SOAP Header in web service provider. According to Elena Neroslavskaya one can somehow extract the generated Axis code base and make the changes there. Definitely not an option for me: I do not want to extract some %%webservice.jar%% files attached to web service provider design element, make changes to files inside it and then put it back.
But I tried to get MessageContext.getCurrentContext() from web service provider in Lotus Domino 8.5.3CD5 and it seems to wo [read] Keywords: domino
A right tool for bug tracking/project management - Redmine
Sat, Jul 30th 2011 9:10a Martin Jinoch We have been using Trac for couple of years and until recently it suited our needs just fine.
But with move to Git version control system I started to look for something else. Although Trac supports Git: there is a plugin for it, but I have failed to install it when I tried that year or so ago. It needed different Python version than we had on our development server. According to Trac website the plugin is working ok, so there is no need to abandon Trac if you are happy with it.
I read some bl [read] Keywords: bug
What a busy month it was
Thu, Jul 21st 2011 10:33a Martin Jinoch I fell in love with Play framework.
That is really cool piece of software and it is fun to work with. Recommended. We are currently using it in couple of projects and so far it saved us a fair amount of time.
And new Eclipse (Indigo) has arrived to the Internets :-)
Also Lotus Notes/Domino 8.5.2 FP3 is out with some annoyng bugs fixed. And it seems to be a bit faster.
I was working on Java web service implementation in Lotus Domino 8.5.2 and found out, that it is hard to debug it. You need anot [read] Keywords: domino
Validation in XPages: one of the two fields should be filled in
Sat, Jun 11th 2011 4:05a Martin Jinoch Recently friend of mine asked me for help with an XPages application and one of the "problems" we had was validating user inputs.
We needed to make sure that user enters something in one of the two fields. My first thought was "ok, it's going to be a simple xp:validateExpression checking for non empty string and returning true". But after giving it one more thought, I ended up with "just make one of the fields required, if the other one is empty"
In code it could look like this:
[read] Keywords: ibm
Finding optimal Git workflow
Thu, May 19th 2011 8:08a Martin Jinoch As Git becomes available as a VCS for Domino Designer (thanks to Nathan T. Freeman for contributing EGit plugin compatible with it), I can start using the same workflow for developing/releasing/hotfixing as I use with Java and Drupal development.
I'm pretty comfortable with gitflow way of doing these tasks, based on this branching model. And there is also git-flow-completion - a perfect companion for it.
If you want to learn more about this approach, do not miss this screencast. Or this one. [read] Keywords: domino
Lotus Notes 8.5.2FP2 on Ubuntu 10.04 64-bit
Sat, Apr 30th 2011 5:48a Martin Jinoch My new Thikpad X220 is up and running! Everything is now back at the state it was on my old notebook, except it now runs on 64bit system.
Installing Lotus Notes Client on 64bit Linux distibution is kind of tricky. First because packages from IBM are for i586 architecture, you have to install them with --force-architecture switch for dpkg command.
Then you have to install bunch of 32bit libraries to make Notes Clent work. Using script called getlibs makes it easier. Simply grab the script and ru [read] Keywords: ibm
Extension Library deployment
Tue, Apr 26th 2011 2:35a Martin Jinoch If you're (like me) using Extension Library in all your XPages applications and therefore you need to install it on all servers your aplications run on, then Plugins Deployment for Domino project is what you'll like a lot. Believe me.
It has some problems, like not being multiplatform - importing updateSite works on Windows only. I tried it on Linux (no luck) a read that it has the same problem on MacOSX. It's probably just the problem of showing the progress bar, I'll look at it later.
Now [read] Keywords: domino
My old ThinkPad T60
Tue, Apr 19th 2011 2:49a Martin Jinoch I bought it in December 2006! It still works fine except it is starting to make really too much noise sometimes, maximum amount of memory is 4GB, battery isn't able to keep it going for more than 2 hours. And it is 15", with 9-cell battery that is "sticking out" on the back side of the notebook. It is quite heavy.
I've replaced old hard drive with Intel SSD 160GB year ago. Notebook is now blazingly fast. But - as stated above - has some problems. So it is time to buy new one.
I considered m [read] Keywords: domino
River of news, waterfall
Fri, Apr 15th 2011 3:03a Martin Jinoch I think I finally know why these new buzzwords have something to do with water. I'm starting to drown in all that information! And there is another 'water related' analogy: http://s-ak.buzzfed.com/static/imagebuzz/web04/2011/1/3/9/the-bermuda-tr... [read] Keywords:
Small tip for Domino Designer
Mon, Apr 11th 2011 11:22a Martin Jinoch If you are working in Domino Designer with a lot of databases at once or if those databases are on remote servers, it tooks forever to build even a single xpage. Eclipse is rebuilding (or at least checking for changes in) ALL opened databases (in Eclipse they are called projects).
You can uncheck Build automatically in Project menu or use Navigator view to close unneeded dbs. Navigator is not by default part of the Domino Designer perpective, so go to Window - Show Eclipse View - Other and in c [read] Keywords: domino
Using Git with Domino Designer
Sat, Apr 9th 2011 1:54a Martin Jinoch I have recently moved all my notes templates to a Git repository. Well, not all of them, just those I currently have on my disk. And there are in fact several Git repositories they are now in.
When IBM announced version of Notes Client based on Eclipse one of the first things I wondered was 'will I be able to use version control system with Notes, at last?'. The answer was 'No'. And it didn't make me happy, because once you have the opportunity to use even the old CVS in some project, it ju [read] Keywords: domino
BLUG 2011 day 2
Tue, Apr 5th 2011 3:02a Martin Jinoch Second day of BLUG 2011 was starting with two "blast" sessions: Admin and Xpages. I kind of wanted to see both of them, but finally I took the Admin one. And it was great and I am sure the Xpages one was great either.
Fabulous @Formulas by Kathy Brown (Running Notes) made me think about how is it possible to work with some product for so long (I started with Notes 3.0) and still stumble on a completely new things.
XPages Data sources: another great presentation by Paul Calhoun. I especially [read] Keywords: admin