202 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
SmartNSF is in Beta 5
Fri, Nov 10th 2017 6
SmartNSF Beta 4 released
Fri, Jul 21st 2017 4
SmartNSF webinar recording available
Tue, Jun 20th 2017 4
I have bad case of FOMO this week
Wed, May 31st 2017 4
Very unexpected (and weird) question
Tue, May 30th 2017 4
Speaking at Engage 2017 about SmartNSF
Thu, May 4th 2017 4
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 6
Top 10
[In Czech] GeeCON 2016 - Praha
Mon, Oct 24th 2016 11
A quick follow up on last post
Fri, Aug 26th 2016 9
Java 8 in 9.0.1FP7? Not likely.
Fri, Sep 2nd 2016 9
Engage 2014
Fri, Mar 21st 2014 8
Working with PDF files in XPages apps
Sun, May 29th 2016 8
IBM Champion for 2016
Thu, Dec 3rd 2015 6
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 6
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 6
SmartNSF is in Beta 5
Fri, Nov 10th 2017 6
Let's Encrypt certificates and BlackBerry
Mon, Feb 15th 2016 5


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
2 hits



Recent Blog Posts
6
SmartNSF is in Beta 5
Fri, Nov 10th 2017 5:30p   Martin Jinoch
In case you've missed Christian's latest release of SmartNSF, here is the link . Important addition is the Custom strategy, that allows you to define your own class to process the requests coming via route defined in SmartNSF, such as router.GET("info") { strategy(CUSTOM) { javaClass "org.openntf.rest.MyCustomStrategy" } } and your class needs to implement CustomRestHandler interface package org.openntf.rest; class MyCustomStrategy implements CustomRestHandler { public void process
4
SmartNSF Beta 4 released
Fri, Jul 21st 2017 8:44a   Martin Jinoch
Go get the fresh release of SmartNSF to OpenNTF.org, give it a go a let us know what you think! Changelog is available in the wiki as is the documentation. Happy RESTing!
4
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.
4
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
4
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:
4
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
6
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
0
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
2
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
1
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




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