RSS

Automated build with Jenkins / Some progress

This saturday was dedicated to do some tests with automated build and Jenkins / Maven. Jenkins is a brilliant tool to let a server do some automated tasks. Maven is the tool which delivers a configuration language to describe how to build something. The goal of maven is to do the same thing always in the same way. For me as a highly creative person is doing the same thing always in the same way, a creativity killer. So I think Maven will be my friend, because he is doing all the annoying jobs for me.

But Maven needs some clear instructions to do his stuff right. And like Eclipse needs Maven also a clear environment to work. Based on some research on the SBT Project and with the help of my friend Google, I figured out that I need eclipse.tycho to build plugins, features and update sites. I had prior to saturday already done the following steps:

  1. Setup of Jenkins
  2. Setup of Maven
  3. Setup of Git (for Grabbing the Project direct form the GitHub)

I started with the parent pom.xml file. This file contains all instructions and dependencies for all my plugin. The full file can be read here.

The important thing was to define the following repository:

<repositories>
<repository>
<id>notes</id>
<layout>p2</layout>
<url>${notes-platform}</url>
</repository>
</repositories>
 

As I sad. Maven needs a clear environment to build all the plugins and the eclipse.tycho needs a repository, where all the plugins of the domino runtime are located. Unfortunately such a repository is currently not available. So I had to create a p2 update site. This is in fact the same, as you define your eclipse development environment to use a specific target platform. See the following instruction, how I did that.

As you can see in the repository definition, I’ve nut used in the <url> tag a fix url. It’s a variable, which can be sent to Maven in the command line. This has the good impact that I can use my new update site also as a file resource. To build my POI4XPages Project, I had only to checkout all the code from git, switch to the feature/CIandMavenIntegration branch and go to the root directory of the project:

mvn clean install -Dnotes-platform=file:///D:/updatesite/site.p2/
did the job…. almost :)

The next problem was, that Maven uses the standard JDK as Java Environment to compile. So I toke the DominoProg/jvm folder and copied it to my build server. Then I changed the Java Home to my new jvm location. In the mean time, I had also done all the pom.xml files for the plugins. And then, the great moment happens:

buildDoneWhats next….

  • I will now make some documentation, how I’ve setup this also on my Jenkins Server
  • I’ve to think, what should I do with the result of the build (assembly)
  • Test the same with Notes Application (Martin Pradny has made some good progress)
  • And learn how to test after the build :) (The next annoying thing….)

 

 

Schlagwörter: , ,

My Slides from Engage.ug

 

Schlagwörter:

What a week – my personal take aways from engage.ug and bccon.de

In fact my week of travels and great meetings started on Wednesday March 12, with 3 Days coaching on customer site in Geneva. Working with customers on a concrete XPages project and guide them to make it first time right is always inspiring. And if there is a Java crack in the project team, you should be well prepared. But its lot of fun and the challenge is to open your ears and learn.

The same is with conferences. I had great meetings with the community. But the best thing was to see how important OpenNTF has become to the community. But there is one thing I want to share. We contributed POI4XPages to OpenNTF because I belive that this project can make the difference. We have become feedback around the globe via mail, but its an incredible feeling, when somebody stand in front of you and says “Thank you for POI4XPages, I use it daily”.

I think the IBM Collaboration Community is something special. Take a look at this great picture from Oliver Heinz (@oliheinz):

Travel 2 bcconSpeakers, IBM Champions and IBMers traveling from engage.ug to bccon.de and have a picnic stop. Its raining, it’s wet and cold, but we had a lot of fun! Would you expect this?

But what have I learned on engage.ug and bccon.de:

  1. All want to play with this new child called IBM Mail.next
  2. XPages App Dev is an absolute hot topic in europe! The App Dev sessions where really good visited
  3. Developers are now ready to go to the #free1352 path
  4. We have to work with the Domino Admins that they do understand, why OpenNTF Essentials will not harm their servers

And I cant wait unitl April, to start play with my new project called “Patterns for automated build and testing with Jenkins, Maven and Selenium”

 
Hinterlasse einen Kommentar

Geschrieben von - März 23, 2014 in Uncategorized

 

Schlagwörter: ,

Video

Message to the Participant of the German Developer Camp

A short message to the german developer camp (in german).

 

What’s the Sountrack of your coding?

When you start to code, what music is in your ears? My current favorit is a german song called Augenblick from Söhne Mannheims.

What’s your favorit?

 
1 Kommentar

Geschrieben von - März 14, 2014 in Gedanken, SocialBusiness

 

First Swiss XPages Developer Crowd Day

Yes, it was a huge success. The Event-Room of WebGate was full of XPages Developers from Switzerland. One of the reason was, that we had the pleasure to meet Martin Donnelly and Eamon Muldon from the IBM XPages Team. The other reason is the DNA of Domino / XPages Developers. It seems that collaboration and sharing of knowledge is a key factor in this community. So we could have an open discussion across the border and boundaries of company and personal interest. During this special moment we were all only XPages Developers with a passion for good Applications.

Is it the right time to establish an event similar to XPages and Beer, which is a success around the world? Yes we think so. I’m working with several people from the Swiss XPages Developer Community to make this happen. The open discussion and the sharing of knowledge and experience was in the past a success factor and will be in the future a success factor.

Stay tuned for a next update.

I’m currently on travel. I was this week in Geneva and will be next week at the engage.ug and the bccon.de. I would love to meet you there.

And I’m still living without my E-Mail Folders! My life is much easier.

See you!

 

Schlagwörter: , ,

Offense, Defence and Special-Teams – Thats all you need in XPages!

I’m since the movie “Remember the Titans” a fan of football. A game which can only be won when the teamwork is really great. Because of lack opportunities in Switzerland, I enjoy the fact that each time when IBM Connect is, it is also Superbowl time. This time a great defence won over a good offense.

Inspired by an article of Paul Withers http://www.intec.co.uk/back-end-developers-are-from-mars-front-end-developer-are-from-venus/ I try to explain a good XPages Development Team with some Football words. And football fans forgive me, I’m a swiss guy and I will never have any chance to fit the knowledge of any football fan but….

Front-End Developers / UI Developers are the Offense!

They do the brilliant stuff which makes an application shiny and intuitive. They care about the first impression. They are interested in fast response from the backend, and love to do the most of the application logic (not the business logic) in the client. They measure loading time and render time. They are great in visualisation of data and love a clear interface.

Like in football, these guys makes the points!

Back-End Developers are the Defence!

They do the hard work :) because they build the API for the Front-End Developers to process the data. They care about a robust domain-object-model and a stable API. They care about the transactions to the storage and the processing of the processes. They are more interested in brilliant algorithms than any kind of UI representations.

Like in football, they are responsible that you do not lose the ground.

Interfaces, Integration and Connections – The Special-Teams

Most applications are not islands. They are integrated in business processes and depends on other system. Here comes your Special-Teams to the game. You need these guys who have a deeper understanding of the interfaces and can talk with the “guys on the other side”.

Like in football, the Special-Teams can make the difference! The last point you need to win!

In what kind of developing are you good?

PS: Next Time I write maybe about RAD and Fast-Prototyping ;)

 

Schlagwörter: , ,

 
Follow

Erhalte jeden neuen Beitrag in deinen Posteingang.

Schließe dich 638 Followern an