371 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
Create your own @Formula
Fri, May 4th 2012 192
This is the result of the debugger poll
Sun, Apr 29th 2012 235
New interesting openntf project
Thu, Apr 26th 2012 262
Debug XPages code with a debugger of your choice
Sun, Apr 22nd 2012 338
Improved calendar integration for Traveler – an idea
Wed, Apr 18th 2012 119
IPad Magic about Stockholm
Wed, Mar 28th 2012 103
Results of my poll
Thu, Mar 15th 2012 108
Top 10
NSD.exe is using 50% cpu on my machine
Tue, Jun 21st 2011 2746
Debug XPages code with a debugger of your choice
Sun, Apr 22nd 2012 338
Lotusphere Live Stream
Mon, Jan 16th 2012 303
Check out the great presentation with Guy Kawasaki
Thu, Jan 19th 2012 303
Soon you can thru out Active Directory
Sat, Jan 28th 2012 299
Check out the new store at XPage Developer
Mon, Jan 30th 2012 283
Setup a Mercurial Source Control server for Windows
Sun, Feb 5th 2012 278
New interesting openntf project
Thu, Apr 26th 2012 262
Standby Custom control what does it do
Wed, Jan 18th 2012 261
Standby Widget v2 is now on XSnippet – openntf.org
Wed, Feb 29th 2012 237


Setup a Mercurial Source Control server for Windows
Fredrik    

Declan Sciolla-Lynch held a session at LS 12 AD102 about how to setup a RedMine Server for Mercurial.
I needed to see if there where a way to setup a Mercuial repository server that could run on windows it could probably run on other operating systems also but I haven’t tested any other.

If found scm-manager a java server that could handle Mercurial, Subversion and Git the best part of this server is that it has a .war file container to you could deploy it in websphere if you have this setup.
But it can also be used with Tomcat and that setup is what I will show you today.

Follow the Notes in 9 video 041 Source Control on how to setup the designer to use the Mercurial plugin.

1. Download  SCM-Manager it’s the scm-webapp-1.12.war that you want to download

2. Download Tomcat 7  click on the appropriate version for your server.

3. Unzip the tomcat zip file to a folder of your choice

4. Open up the Tomcat-users.xml  in the conf subfolder
here you add your admin user add the following rows

in the tomcat users section

<role rolename=”manager-gui”/>
<role rolename=”manager-script”/>
<role rolename=”manager-jmx”/>
<role rolename=”admin-gui”/>
<user username=”admin” password=”admin” roles=”manager-gui,manager-script,manager-jmx,admin-gui”/>

This will add a user called admin with the password admin (select your own password)

Save the file

5. Open a commadn prompt goto the bin folder beneath the tomcat folder
Write service install  This will add tomcat to run as a service.
Start the service

6. Open up a webbrowser http://127.0.0.1:8080

The tomcat main page opens up

7. Click on

 

 

Scroll down to War file to deploy
8. Select browse and select scm-webapp-1.12.war and deploy

9. Scroll up scm should now be in the list of deployed applications

10. Click on /scm-webapp-1.11 this is now your url to the repository

11. You will now be asked to login to the SCM Manager

Use scmadmin and password scmadmin

12. Click on Repository Types in the Right Navigation beneath Config

13. All the Mercurial fields are blank when you look at them

Click on Start Configuration Wizard to configure them.
in the dialog box select Download and Install

When the configuration is done. Click on Save.

14. You need to restart Tomcat or SCM-Manager to get the Mercurial as an option when creating repositories.

15. Login to SCM-Manager again and create a user

16. Create a repository and select the type a mercurial.

 

Now You are done, just start to push your code the the repository.
Perhaps there is a way to convert the .war file to a OSGI package so we can drop the Tomcat server.


---------------------
http://www.xpagedeveloper.com/2012/setup-a-mercurial-source-control-server-for-windows
Feb 05, 2012
279 hits



Recent Blog Posts
192


Create your own @Formula
Fri, May 4th 2012 6:12a   Fredrik Norling
There is several ways of creating your own @Formula commands. One easy way is to create a serverside scriptlibrary and create a function that is named @MyCommand there. Include this SSJS library into your XPage / Custom Control and you have added a custom @Formula. function @Getfirstword(data){ return @Left(data,” “) } And the second way is to create your own extension to the Domino designer as Ulrich Krause has done in this new openntf project. http://www.openntf.org/internal/h [read] Keywords: domino scriptlibrary xpages openntf
235


This is the result of the debugger poll
Sun, Apr 29th 2012 3:10a   Fredrik Norling
I have a little poll Link about what the developer community want from a future debugger I had 62 people responding to the poll, Not a huge amount but anyway enough to see the direction. A future debugger of XPages needs SSJS debugging, java and client side debugging is not necessary. It was a close run between new debugging features that I listed between conditional breakpoints and backwards debugging and the backwards debugging won. It would be great to have both these functions in a future [read] Keywords: domino xpages community java
262


New interesting openntf project
Thu, Apr 26th 2012 11:12a   Fredrik Norling
I found this interesting project on openntf.org yeasterday Ruby in XPages if you don’t know what this is it’s an implementation so you can write Ruby code inside an XPage. You might say I don’t know Ruby so how can this be of interest to me. I don’t either know Ruby but I think the project it self has other interesting things because it shows how to implement another language into XPages, perhaps node.js, PHP or ASP.Net. Another post about the possibilites to expand XPag [read] Keywords: lotusscript xpages google openntf
338


Debug XPages code with a debugger of your choice
Sun, Apr 22nd 2012 10:12p   Fredrik Norling
It has been alot of talk about a debugger for XPages, Do we need a copy of the lotusscript debugger. Or a brand new debugger that gives us new ways to debug our code. Yes please. I think there is several new interesting ideas on how to debug code faster and better. How would you like to debug your xpage code? Note: There is a poll embedded within this post, please visit the site to participate in this post’s poll. If you look at other languages there is alot of interesting features in debu [read] Keywords: lotusscript xpages application
119


Improved calendar integration for Traveler – an idea
Wed, Apr 18th 2012 6:11a   Fredrik Norling
I got an idea about how to improve the calendar integration in traveler. Unfortunatly the idea will only work for the Android version because I don’t think you can control the phone in IOS. The idea is that you could control settings in the phone using the calendar, this isn’t anything new if we are talking about you office phone but on your mobile phone and the change is not done in the switch board. What am I talking about then, in an Calendar appointment you setup a profile/Categ [read] Keywords: traveler integration mobile office profile server wifi
103


IPad Magic about Stockholm
Wed, Mar 28th 2012 9:11a   Fredrik Norling
Checkout this IPad magic show http://www.youtube.com/watch?feature=player_embedded&v=53_qvMQfvOE [read] Keywords:




108


Results of my poll
Thu, Mar 15th 2012 1:13p   Fredrik Norling
I did a poll some days ago 300 people answered the poll http://www.xpagedeveloper.com/2012/3-quick-questions-about-xpages-and-domino 88% of the people who responed has atleast one server with 8.5.2 or 8.5.3 interesting 29% Is seeing an increase in mobile applications and 43% is seeing an increase in web vs client. 55% is still doing 50% XPages and traditional Domino development. But one of the big things is that 24% of the people voating is not doing any XPage development at all that is almost [read] Keywords: domino ibm notes xpages applications development eclipse integration mobile openntf server
61


Donate to Mozilla and get a T-shirt
Thu, Mar 15th 2012 6:13a   Fredrik Norling
Donate a buck to Mozilla so they can continue to do their great work and get a Official T-Shirt for free. https://donate.mozilla.org/page/contribute/mozillatshirt/ [read] Keywords:
173


Quick tips: if you are importing data in an LS agent
Sun, Mar 11th 2012 12:41a   Fredrik Norling
If you are importing data in Lotusscript and the imported files is in utf-8 so you have specified in the open command charset=utf-8 make sure that were you are getting the files from don’t suddely produce an ordinary ANSI ascii file. Then you will probably get a server crash, because there is not check if the file is utf-8 so it tries to read the ordinary file as a multibyte file. That will corrupt arrays, lists and eventual crash the client/server. So make sure the file format is what yo [read] Keywords: agent lotusscript server
215


3 Quick questions about XPages and Domino
Thu, Mar 8th 2012 1:22a   Fredrik Norling
I’m doing a lite poll to see what the future looks like. You don’t have to be an admin or a developer. If you don’t know the answer on one of the questions don’t answer that question Note: There is a poll embedded within this post, please visit the site to participate in this post’s poll. Note: There is a poll embedded within this post, please visit the site to participate in this post’s poll. Note: There is a poll embedded within this post, please visit th [read] Keywords: admin domino xpages




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - FAQ - Mobile Edition