The Kaptain on … stuff

Posts Tagged ‘maven

09 Aug, 2009

Using the TestNG DataProvider with Groovy

Posted by: TheKaptain In: Development

TestNG is a great tool for testing in Java, and it works even better with a little Groovy thrown in. Just lately I’ve had a lot of success using the DataProvider pattern.
A DataProvider method in TestNG can return either a two dimensional Object array or an Iterator over each of the test parameters. A consumer [...]

16 Jul, 2009

Presenting a Groovy/Griffon talk

Posted by: TheKaptain In: Development

I’ve been asked by my friend and co-worker Manfred Moser to give a presentation at next month’s Vancouver Island Java user’s group meeting, and silly me I said yes before remembering that speaking in front of people always makes me feel quesy and light-headed. Thanks Manfred for the kind invitation; I’ll do my best to [...]

Over the last year I’ve done a lot of work with JBoss Seam, and while it’s not Grails it’s also not that bad for a web framework. Facelets is the view technology of choice, and it’s certainly better than many alternatives, but at the heart it is still xml and all those brackets make [...]

14 Apr, 2009

Groovy and Bash – can scripting get much easier?

Posted by: TheKaptain In: Development

The ability to execute pretty much any bash statement embedded in a Groovy script is great, don’t get me wrong, but with the advent of Grape – and provided that you’re an Ivy/Maven user – adding the abilities of just about any Java library to your scripting language is easy.
So what does Groovy add to [...]

03 Apr, 2009

Griffon bash completion…

Posted by: TheKaptain In: Development

… means I don’t have to remember all of the available Griffon commands. My primary development platform is a Mac, so I used MacPorts to install the bash-completion package long ago.
This script is based entirely on the excellent maven completion script documented here on willcodeforbeer. It does the same job for Griffon and includes commands [...]


Get Adobe Flash playerPlugin by wpburn.com wordpress themes

About

Tales of development, life and the folly that goes along with both.

Tags

On Twitter

Powered by Twitter Tools