comparison
Builds Are Complex So Choose Your Tools Wisely
Submitted by Tomek Kaczanowski on Tue, 06/08/2010 - 20:25While preparing for Javarsovia 2010 Gradle speech I tried to list all things that are performed during builds. I remembered few last projects of mine and tried to categorize various actions that happen during their build. The result surprised me - seems like today's builds do a lot of very different stuff.
Gradle talk - Java Camp #3, 10 April 2010 - slides and source code
Submitted by Tomek Kaczanowski on Mon, 04/12/2010 - 19:24If you are interested in slides (in polish) and source code of
Gradle presentation that I gave during Java Camp #3 (10 April 2010,
Cracow, Poland) you will find them here.
Gradle talk - Java Camp #3, 10 April 2010, Cracow, Poland
Submitted by Tomek Kaczanowski on Thu, 04/08/2010 - 11:38If you happen to be in Cracow (Poland) this Saturday (10 April 2010) and you know polish :) you might be interested in attending the Java Camp #3 conference. See http://www.java.pl/?p=138 for detailed agenda.
I'm happy to announce that I will give a talk on Gradle at 11 am. I have 1,5 hour to present Gradle and show how it compares to Ant/Maven. My plan is to show a lot of code to present how Gradle can solve real-life scenarios ...and bash Ant/Maven along the way ;).
Hope you will be there !
Getters/Setters Revisited - Validation of Order Class
Submitted by Tomek Kaczanowski on Wed, 01/13/2010 - 22:58This is a continuation of the post devoted to some code smells that was vigorously commented in favour of ugly, anti-OO code design :). Thanks God, I also got an interesting question regarding this problem.
Seems to me, that this topic should be discussed one more time.
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
deployfolder, - 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.
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:40So you decided to check some build prerequisites before doing any real job. You want to check if proper Java version is installed, if some configuration files are available etc.
I'll show you how you can do this using Ant, Gradle and Maven.
Maven ? Ant ? ...or Gradle ?!
Submitted by Tomek Kaczanowski on Thu, 05/21/2009 - 21:29Are you using Maven ? Or maybe you hate Maven and you still use Ant ? Or maybe you feel that both are not enough and you are looking for something else. Than look no more, cause Gradle offers what you need.
TestNG - parallel test execution - example - unique ID generator
Submitted by Tomek Kaczanowski on Tue, 05/12/2009 - 21:16Today I played with unique IDs generator. While doing this, I have found how very useful is one of the features of TestNG framework - its ability to run tests in parallel.
"Untestable" code - JtestR
Submitted by Tomek Kaczanowski on Mon, 04/21/2008 - 20:47This is a part of "Untestable code" series. See the introduction to know what is it all about (yes, you really should go there, do it).
The main idea of the series is to write unit-tests for a particularly nasty piece of code. In this part I will use JtestR library to write test cases... well, not exactly. The point is that you can't do it with JtestR. :(