Posts tagged with "build"

May 9th, 2014

Ensure Class Library Compatibility in a Maven Build

When you build jars that are supposed to work with a specific JRE version, it’s not sufficient to set the correct compiler level. Even if the compiler creates byte code for a particular language version, your code may accidentally use API that is not available in the class library of this Java version, and the [...]

Leave a Comment
May 2nd, 2013

State of the Android Gradle Build System

Building an Android project can be challenging at times. The Android SDK ships with a set of helpful ant scripts, but has its shortcomings. It mainly lacks a well-populated dependency infrastructure similar to what maven offers (ivy doesn’t count). Hence, the natural evolution of build process spawned the maven android plugin. The plugin allows you to infuse [...]

Sep 11th, 2012

Running HTTP/REST Integration tests in an Eclipse Tycho Build

Editor’s note: the Restfuse tool is no longer maintained and has been archived. However, you can still access the sources on GitHub. A few days ago my fellow Frank wrote about running HTTP/REST Integration Tests efficiently in Eclipse. Today I want to show you how to embed those tests in a headless build using Eclipse [...]

Leave a Comment
Aug 29th, 2012

Organizing Hudson and Jenkins Build Jobs

Hudson Jobs mknauer

At Eclipse we are running many, many build jobs on our Hudson servers. Most projects are managing multiple jobs, one for each version that they are supporting, sometimes multiplied by the number of sub-components. Within our company it is not that different on our internal Jenkins server: Multiple project teams want to deliver software consisting [...]

Leave a Comment
Aug 26th, 2012

Building an Eclipse Project with Tycho – Experience Report

Build engineering was and is quite a challenge for many of the projects I worked on. For pure Java projects I have often used Maven for building, but for Eclipse/OSGi-based it never really worked out well for us. One of the main reasons was that the information Maven requires to build an artifact (aka plugin/bundle) [...]

Aug 18th, 2012

Using shared libraries with Eclipse RCP

This post describes an easy – but little known way – to use native libraries (.dlls) with Eclipse RCP. In my current work, I’m shipping an RCP application that interacts directly with hardware connected to the user’s machine. These interactions are done through drivers, written in C, that are available in binary form as shared libraries. [...]

Leave a Comment
Jul 30th, 2012

Accessing multiple private GitHub repositories without a dedicated build user

We have been using GitHub at EclipseSource for roughly 2 years now. Using it as a company means that we are hosting all our internal projects, products and many customer projects on GitHub. GitHub was (and is) a great solution for us, except when it came to accessing multiple private GitHub repositories from our build [...]

Leave a Comment
Jul 30th, 2012

Jenkins JaCoCo Plugin released

When it comes to Code Coverage and Java, you can’t ignore JaCoCo. JaCoCo was created by Marc Hoffmann based on the lessons learned using the popular Emma coverage tool. There are plenty of projects using JaCoCo but there was one missing piece – integrating the coverage report into the automated build. Since there was no JaCoCo Plugin for [...]

Jun 11th, 2012

Creating p2 composite repositories on the command line

Structure of a composite repository with children

Composite repositories make it easy to maintain different versions of a software in a single repository. The idea is to have one public p2 repository that delegates to a number of child repositories. Once you have a new build, you can easily add it to the composite repository and remove some obsolete builds. The child [...]