199 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
SmartNSF webinar recording available
Tue, Jun 20th 2017 81
I have bad case of FOMO this week
Wed, May 31st 2017 12
Very unexpected (and weird) question
Tue, May 30th 2017 12
Speaking at Engage 2017 about SmartNSF
Thu, May 4th 2017 9
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 8
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 5
Re: Domino REST performance analysis
Wed, Mar 15th 2017 4
Top 10
SmartNSF webinar recording available
Tue, Jun 20th 2017 81
Very unexpected (and weird) question
Tue, May 30th 2017 12
I have bad case of FOMO this week
Wed, May 31st 2017 12
[In Czech] GeeCON 2016 - Praha
Mon, Oct 24th 2016 11
Automatic building of NSF from (git) repository
Thu, Feb 6th 2014 10
A quick follow up on last post
Fri, Aug 26th 2016 10
Engage 2014
Fri, Mar 21st 2014 9
7th technical conference of the Czech Lotus User Group (SUTOL) - 11/11/2015
Thu, Mar 19th 2015 9
Working with PDF files in XPages apps
Sun, May 29th 2016 9
Speaking at Engage 2017 about SmartNSF
Thu, May 4th 2017 9


Automatic building of NSF from (git) repository
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
martin jinoch    

I finally had some time to try new "experimental" feature that has been added to IBM Notes in 9.0.1 release. And it is the ability to automatically take repository containing so called on-disk project and build NSF out of it. Which is something you probably do daily, but you have to do it manually in Designer.

After couple of tweets about this matter Jonathan Roche from IBM offered me help in case I have any problems. I always have problems ;-) But this was easy... What was missing in slides from IBM Connect 2014 session AD209: Making Your Development Team More Productive with IBM Domino Designer is the need to add one notes.ini variable. Thanks a lot Jonathan! I wish all problems with IBM sofware are solved like this one.

To make it work you need:

  • 9.0.1 Designer
  • add DESIGNER_AUTO_ENABLED=true to notes.ini file
  • and then simply run
    designer.exe -RPARAMS -console -vmargs -Dcom.ibm.designer.cmd="true,true,nameof.nsf,importandbuild,C:pathto.project,nameof.nsf"
    from command line.

Provided you have on-disk project in C:pathto after a while you'll have a new database (in this case named nameof.nsf) in Notes data directory.

Why I'm writing about it? Imagine this: you can trigger NSF creation after each commit to repository, then run a set of tests to make sure application is not "broken" and see the results for each of these builds. All automatically, without any other action apart from the commit/push itself.
And as a bonus you can easily see who broke the build and proceed with spanking or whatever it is you do to a naughty developer.



---------------------
http://jinoch.cz/automatic-building-nsf-git-repository
Feb 06, 2014
11 hits



Recent Blog Posts
81
SmartNSF webinar recording available
Tue, Jun 20th 2017 7:02a   Martin Jinoch
Did you miss webinar about SmartNSF on June 13? No problem! Go ahead and learn about the cool new features coming in next release! Recording is available here: https://www.youtube.com/watch?v=CN-DFWvjWx4.
12
I have bad case of FOMO this week
Wed, May 31st 2017 8:37a   Martin Jinoch
This week hosts two events I would love to attend: DNUG 44 in Berlin and Social Connections 11 in Chicago. Being part of the team organizing an event and then not be able to go to the event sucks. Big time. With the rest of the team already in Chicago (and asleep now) or en route there, our usual chat channels are quiet this morning. That feels strange. I keep checking my internet connection if it is working. Seems to be ok. At DNUG IBM has just announced acquisition of XCC! Congratulations to
12
Very unexpected (and weird) question
Tue, May 30th 2017 4:10p   Martin Jinoch
"Are you available for XPages training for beginners?" was the question asked recently. I am not making this up. I really am not. My first reaction (after several seconds - or perhaps minutes - of total suprise) was: "Whaaat? Why would anybody for crying out loud now START to learn XPages?" Then we talked a bit about dates and after realizing I can only do it in September I was sure they won't want me to do it anymore. To my even bigger surprise they came back. And it got even better today:
9
Speaking at Engage 2017 about SmartNSF
Thu, May 4th 2017 1:02p   Martin Jinoch
I think I can call it a tradition now, as I every year since 2011 travel to Belgium (or Netherlands) to attend and sometimes even to speak at Engage (formerly BLUG) user group event. This year the latter applies. Christian Guedemann and I will be presenting SmartNSF (https://wiki.openntf.org/display/XRAPI/SmartNSF) and its role in application modernization "movement". The session is scheduled for Monday, May 8 from 11:45 to 12:30 in room D. Gorilla. Looking forward to meeting yellowverse peop
8
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 11:35a   Martin Jinoch
Changes We've decided to rename strategies to make the names shorter, yet still descriptive enough. We've basically removed all SELECT_ and ALL_ parts of the names. For example SELECT_ALL_DOCUMENTS_FROM_VIEW is from now on DOCUMENTS_FROM_VIEW. Extending the life of your keyboard is just a positive side effect of this change. Bug fixes Date format of returned DATETIME items was broken, so we fixed it. Bigly! ARRAY_OF_DOUBLE data type was returning array of nulls instead of array of actual doubl
5
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 10:35a   Martin Jinoch
EDIT: Beta 3 has been released: https://openntf.org/main.nsf/project.xsp?r=project/SmartNSF/releases/CCB... Changes We've decided to rename strategies to make the names shorter, yet still descriptive enough. We've basically removed all SELECT_ and ALL_ parts of the names. For example SELECT_ALL_DOCUMENTS_FROM_VIEW is from now on DOCUMENTS_FROM_VIEW. Extending the life of your keyboard is just a positive side effect of this change. Bug fixes Date format of returned DATETIME items was broken, so
4
Re: Domino REST performance analysis
Wed, Mar 15th 2017 7:18a   Martin Jinoch
Csaba Kiss has published blogpost http://xpagexplorer.org/domino-rest-performance-analysis/ about his findings regarding performance of various REST technologies available on Domino now. Just a couple of remarks: use case for reading 10000 documents at once is probably very far from most real world scenarios some may argue ReadViewEntries method is not REST service per se. And it is a core function deep in the HTTP server, probably developed in C. That's something we can't beat I guess SmartN
3
Re: Domino REST performance analysis
Wed, Mar 15th 2017 7:18a   Martin Jinoch
Csaba Kiss has published blogpost http://xpagexplorer.org/domino-rest-performance-analysis/ about his findings regarding performance of various REST technologies available on Domino now. Just a couple of remarks: use case for reading 10000 documents at once is probably very far from most real world scenarios some may argue ReadViewEntries method is not REST service per se. And it is a core function deep in the HTTP server, probably developed in C. That's something we can't beat I guess SmartN
4
SmartNSF Beta 2 released
Tue, Mar 7th 2017 9:50a   Martin Jinoch
You may have noticed that there is new project available on OpenNTF.org site. It is called SmartNSF (https://openntf.org/main.nsf/project.xsp?r=project/SmartNSF/summary) and it aims to help developers build REST services on top of the Domino databases. Unlike other approaches I am aware of, this project adds Designer integration and smart definition of routes, data retrieval strategies and returned values in one place. And this definition is made using Groovy syntax. How cool is that?:-) You can
3
SmartNSF Beta 2 released
Tue, Mar 7th 2017 8:50a   Martin Jinoch
You may have noticed that there is new project available on OpenNTF.org site. It is called SmartNSF (https://openntf.org/main.nsf/project.xsp?r=project/SmartNSF/summary) and it aims to help developers build REST services on top of the Domino databases. Unlike other approaches I am aware of, this project adds Designer integration and smart definition of routes, data retrieval strategies and returned values in one place. And this definition is made using Groovy syntax. How cool is that?:-) You can




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