When your Jenkins server runs on for a while, your hard disk usage grows up because the default setting of each job is that every job build and build artifact obtained from this are stored in a build history. Limiting this build history can save hard disk usage. Each job has a setting option called Discard Old Builds. …
Read MoreIn my last post I showed how to rename the host name for Subversion in all jobs with one script. In this post I will show you how to set the repository browser in all jobs with one script. This script is based on the script from my last post. 1def newRepositoryBrowserRootUrl = new …
Read MoreThe host name of a Subversion instance is renamed and now many Jenkins jobs have to be adjusted. One possibility is to change every job by hand. But this approach is very time-consuming and error-prone. A better possibility is to have a script based approach, that rename the Subversion host name of all jobs in one go. …
Read MoreA new version of this blog post is published under the title "Generate P2 Repository From Maven Artifacts in 2017" Motivation If you use Maven Tycho to build your Eclipse RCP application, you can use Maven dependencies as you know it from Maven (for more information see [1]). I notice that Tycho takes many times for …
Read MoreThis post describes how to set up a Maven project for a Spring web application with Hessian Service. It also shows how to set up the deployment for exposing the Hessian service and how to set up a client to consume the Hessian service. The Spring Framework version is 3.1.1.RELEASE and the Hessian version is 4.0.7. …
Read MoreI like to use Cygwin for having a bash shell on a windows machine. In combination with Console2 you have a powerful command-line tool for windows. I'd like to describe how to install Cygwin and Console2 under windows 7 (I think this instruction works on Windows XP, too) and how to embed Cygwin in Console2. I used for …
Read MoreI use Pax Runner to provisioning my OSGi applications. I want to use several OSGi applications on my test server. As soon as you start the second OSGi application provisioned by Pax Runner, you get the following exception: 1Exception in thread "main" java.lang.RuntimeException: org.ops4j.pax.runner.daemon.lock exists. …
Read MoreAssumption I assume Nexus OOS in version 2.1.2 is installed. You can find a good tutorial in Sonatype's Nexus book Repository Management with Nexus (Chapter 3: Installing and Running Nexus). Preparation For the set up of a proy P2 repository three Nexus plugins are needed: Nexus Capability Plugin (It is contained in …
Read MoreTo read resources from classpath, you can use the Spring class ClassPathResource. The constructor with one argument reads only resources from file system. But sometimes you want to read a resources from a jar file in the classpath. For this case, you must build an own URLClassLoader from the URL of the jar file and use …
Read MoreIn my last post of this series, I described how to solve the dependency problem. In this post, I will describe how to build Eclipse Plugin and Eclipse Feature with Maven Tycho and which problems I have. POM Definition The procedure for both Eclipse artifacts is similar. In both, you have to insert a pom.xml and fill it …
Read More