193 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
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 5
Re: Domino REST performance analysis
Wed, Mar 15th 2017 9
SmartNSF Beta 2 released
Tue, Mar 7th 2017 5
SmartNSF Beta 2 released
Tue, Mar 7th 2017 5
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 9
Top 10
Java 8 in 9.0.1FP7? Not likely.
Fri, Sep 2nd 2016 12
Call for abstracts for 7th SUTOL conference is open
Mon, Jun 1st 2015 11
Family reunion 2016 (also known as Engage)
Tue, Mar 29th 2016 9
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 9
Re: Domino REST performance analysis
Wed, Mar 15th 2017 9
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 8
Fall - time of the conferences and hard work
Tue, Sep 30th 2014 7
[In Czech] GeeCON 2016 - Praha
Mon, Oct 24th 2016 7
[In Czech] GeeCON 2016 - Praha
Mon, Oct 24th 2016 7
Engage 2014
Fri, Mar 21st 2014 6


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



Recent Blog Posts
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
5
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
9
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
5
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
5
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
9
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 10:42a   Martin Jinoch
Java 8 is coming to Domino/Notes. First just runtime environment for server and client in FP8 and later this year hopefully to Designer as well. That will be huge improvement for developers, because it means - apart from Java 8 new features - we'll get newer Eclipse, newer OSGi etc. Yay! At the same time I feel like admins are not going to be that happy. Change of Java runtime from 6 to 8 should - in theory - be safe. Chances are, however, some stuff will be broken. A really really thorough te
3
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 9:42a   Martin Jinoch
Java 8 is coming to Domino/Notes. First just runtime environment for server and client in FP8 and later this year hopefully to Designer as well. That will be huge improvement for developers, because it means - apart from Java 8 new features - we'll get newer Eclipse, newer OSGi etc. Yay! At the same time I feel like admins are not going to be that happy. Change of Java runtime from 6 to 8 should - in theory - be safe. Chances are, however, some stuff will be broken. A really, really thorough t
3
IBM Champions 2017 - welcoming new Czech one!
Thu, Dec 15th 2016 8:39p   Martin Jinoch
I am very very happy that my friend and real yellowbleeder Jan Krejc√°rek has been named IBM Champion in ICS for 2017. He is the third one from Czech Republic (in ICS) and it is a well deserved achievement. I do not have any real statistics (apart from those I am just making up), but I think we might be the best in "champion per capita" ratio. There might be some smaller country though, I really should check it before writing it in the blogpost. But we have post-fact era after all :-) Thanks
4
IBM Champions 2017 - welcoming new Czech one!
Thu, Dec 15th 2016 8:39p   Martin Jinoch
I am very very happy that my friend and real yellowbleeder Jan Krejc√°rek has been named IBM Champion in ICS for 2017. He is the third one from Czech Republic (in ICS) and it is a well deserved achievement. I do not have any real statistics (apart from those I am just making up), but I think we might be the best in "champion per capita" ratio. There might be some smaller country though, I really should check it before writing it in the blogpost. But we have post-fact era after all :-) Thanks




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