Last Friday I participated in a new meet-up: The IDesign Method – System Design. The meet-up was organized by Jarkko Kemppainen, the Principal of IDesign Europe. The company has developed its own approach to design new system, which is available for download from their website. Here are a few interesting statements from the meet-up
Author: Viktor Sadovnikov
Copying Jenkins jobs
When your company/project uses multiple installations of Jenkins, quite often you’d like to move build jobs from one server to another. Jenkins does provide an extensive set of CLI command and API via HTTP. However there is nothing (yet), what would connect two build servers
Merge SVN directories
One of the applications of my customer in being maintained by an external vendor. The vendor delivers code to a separated SVN repository, by importing it every time as a new tag. This causes a few difficulties: SVN is not able to report code differences between two versions all available at the company tooling has […]
Enforce Clean before shade
It’s a bad idea, but if you have to use Maven Shade plugin in order to include classes from your dependencies to your artifact and especially if you invoke shade more than one during the build
Project break-down, which happens too early
Among users of Maven there is a huge tendency, which is difficult to influence. The tendency is to break down projects into a number of independently releasable sub-projects, but to keep on working at all of the sub-projects at the same time. In this case using fixed versions of dependencies does not work at all […]
Modify single file in SVN tree
Sometimes, especially when you work cross various projects, you need to modify a single file in a project. A good example for this updating pom.xml by adding description, name, SCM or CI sections
Remove CR from CRLF
GIT does not accept text files in DOS style with CRLF characters at the end of the lines. Although it’s possible to configure repository to auto-convert line endings, the files in your local copy will remain in DOS-style. The script below, assuming it’s saved as fromdos.sh, will prepare your files by removing CR character.
Enumeration in C#
Quote from page 21 of “Pro C# 2010 and the .NET 4 Platform” book of Andrew Troelsen (ok, quality of this book is a potential subject of another post): “Enumerations are a handy programming construct that allow you to group name/value pairs”