Tomek Kaczanowski's blog
Java exPress - introduction to Gradle
Submitted by Tomek Kaczanowski on Mon, 12/14/2009 - 17:43I'm happy to announce, that my article devoted to Gradle was published in the latest Java exPress issue. :)
This article will introduce you to Gradle (a powerful and smart build system). Gradle is huge (and still growing), so some concepts were omitted (on purpose), but it should serve you right as a food for thought on what the strong points of Gradle are, and how much easier it can be to perform various build related tasks.
Quick Build with Gradle (BSBM Tools)
Submitted by Tomek Kaczanowski on Thu, 12/10/2009 - 12:36Today, I needed to have a JAR of BSBM benchmark tools. Surprisingly, when I downloaded the bundled zip from SourceForge, there was neither JAR nor build file inside (no build.xml
, no pom.xml
, nothing) - or maybe I'm blind.
Well, Gradle to the rescue. :)
Clirr Maven Plugin - inner classes problem
Submitted by Tomek Kaczanowski on Fri, 12/04/2009 - 14:22Do you know this nice tool called Clirr and its Maven plugin ? Well, it is very nice, although it fails miserably in case of some inner class changes. Thus, it doesn't work for some of my projects. :(
Better looking test reports with ReportNG
Submitted by Tomek Kaczanowski on Thu, 12/03/2009 - 07:16TestNG reports can be customized, so any style modification is possible. Did you know there is this nice ReportNG project, that makes TestNG produce very good looking reports without much trouble ?
Custom tests reports with TestNG Listeners, Apache Velocity and a bit of CSS
Submitted by Tomek Kaczanowski on Thu, 11/26/2009 - 22:01In your opinion, the original reports of TestNG are (pick one or more options):
- showing too much information,
- showing not enough information,
- not showing what you want to show,
- require too many clicks to find out what has gone wrong,
- not very pretty,
Because of this, you finally decide to create your own reports. Good, then read this post, and you will learn about one possible way of achieving this.
Apache Maven 2 Effective Implementation - book review
Submitted by Tomek Kaczanowski on Mon, 11/16/2009 - 21:00This is a review of "Apache Maven 2 Effective Implementation" book by Brett Porter and Maria Odea Ching (Packt Publishing, 2009)
Ant, Gradle and Maven - comparison - install script
Submitted by Tomek Kaczanowski on Tue, 11/03/2009 - 20:58This is a part of "Ant/Gradle/Maven comparison" series.
A common task during development is the creation of an installable version of software. The one I mention in this post is a real one - this is something I've been working working with since few months. It does few things related to Fuse ESB:
- unpacks Fuse sources,
- updates some config files,
- retrieves few JARs from Maven repository and put them into
deploy
folder, - does some more file-related stuff - creates directories and copies files,
- produces ready-to-unpack-and-use file:
tar.gz
(for Linux) andzip
(for Windows).
I started to write this with Ant/Maven, and then switched to Gradle. I'll present few code snippets here, that should give you a decent understanding of difference that Gradle makes. Please judge for yourself if the switch from Ant/Maven to Gradle was worth the effort.
Cooking with Gradle
Submitted by Tomek Kaczanowski on Thu, 09/10/2009 - 09:18So I became a cook... It is rather surprising, because my kitchen-fu is limited to boiling water. :) But well, life is unpredictable, you know - and so now I'm busy preparing recipes for Gradle users. In other words, I'm taking care of the Gradle Cookbook.
Is test-first any better than test-last? oh, yes it is!
Submitted by Tomek Kaczanowski on Mon, 07/20/2009 - 15:41Is test-first better than test-last ? Is there a significant difference in the quality of code developed using these approaches ? It's hard to say for sure. My gut feeling (and experience) tells me that test-first is superior. Sometimes I find evidences for this claim. Like the one I present in this blog post.
Ant, Gradle and Maven - comparison - checking build prerequisites
Submitted by Tomek Kaczanowski on Sat, 07/18/2009 - 13:40
This used to be my blog. I moved to http://tomek.kaczanowscy.pl long time ago.