Java: Find all instances of System.out.println()

A good Java application should print only the absolute necessary to standard out. Not to do so can mean a serious hit in performance and can make it difficult to debug issues. Unfortunately either we ourselves or our colleagues put┬áSystem.out.println() statements in the code and then forget to remove them. Here are two solutions how … Continue reading Java: Find all instances of System.out.println()

Setting Up Xtend with Maven and eclipse (Luna)

Xtend is currently my favourite alternative language for the JVM (closely followed by Kotlin). Unfortunately, I did not find a good guide of how to set up a Maven project within eclipse (Luna) which uses Xtend. Specifically the following guide will allow you to allow you to write test cases in Xtend for your existing … Continue reading Setting Up Xtend with Maven and eclipse (Luna)

Setting Up eclipse Luna with Maven for Android

As of August 2014, don't even try this. Officially, the Google Eclipse plugin supports Eclipse 4.4 (Luna) at present. However, in order to be able to create projects which are both Maven projects and Android projects you will need to install the m2e-android plugin. This currently does not support eclipse Luna. Probably, if you create … Continue reading Setting Up eclipse Luna with Maven for Android

New Repository for OSGi-ready Maven Artifacts

UPDATE 2015: For good repositories for OSGi artifacts also check: SpringSource Enterprise Bundle Repository Eclipse Bundle Recipes Project Here the original post: Although the onedb libraries are currently deployed as vanilla Java JAR files (onedb downloads), I have used the PDE tooling of eclipse heavily in the development process. One core advantage of using OSGi … Continue reading New Repository for OSGi-ready Maven Artifacts

JavaDoc Editor for eclipse

Formatting JavaDoc using plain HTML can be a troublesome and time-intensive experience. Today I installed the JDocEditor plugin for eclipse, which allows editing JavaDoc in eclipse using a small rich text editor. Here, a quick evaluation, a few screenshots and a little getting started guide. Evaluation Good: Free Helps to reduce the hassle of dealing … Continue reading JavaDoc Editor for eclipse

JDepend Plugin for Eclipse

The other day I came across another interesting static source code analysis plugin for eclipse: JDepend. JDepend calculates a number of quality metrics for Java packages (therewith it has a slightly different unit of analysis to other tools, which focus on methods, classes or projects). I found that Andrey Loskutov has created an excellent eclipse … Continue reading JDepend Plugin for Eclipse

Eclipse and SVN to manage Apache Web Server

In order to configure a simple Apache Web Server, I found myself many a time connecting to a UNIX system using putty, fiddling around with various configuration files using pico or vim. I don't want to count the times I deleted some configuration I later missed dearly or forgetting to close some xml element. Two … Continue reading Eclipse and SVN to manage Apache Web Server

Relocating SVN repository for multiple projects in eclipse workspace

Although an SVN server is possibly a fixed anchor in dynamic and distributed development efforts, even these servers might have to be relocated from time to time. Surprisingly, this can be done quite swiftly, even in complex set ups, for instance an eclipse workspace comprised of dozens of projects stored on a number of different … Continue reading Relocating SVN repository for multiple projects in eclipse workspace