Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

Tuesday 09 July 2013 The Forest Road Reader, No 80

Been converting an Ant build file to a Maven POM today. In the distance, I can hear Russel shouting "Why? Use Gradle!" and in a free world that's exactly what I would do. But it's not.

Matthew Swaffer, who caught our eye with his big hair and splendid Superman leotard, won the Men's DMT on Sunday. DMT is a completely crazy gymnastics discipline which involves charging down a runway towards a tiny trampoline, pinging in the air doing one crazy thing, bouncing off again to another crazy thing, then trying to land in an area about 1m by 2m. Get any of that wrong and, well, it's disaster. Not only did he win, Swaffer was competing in his 22nd consecutive British Championship. That's really incredible. Watch him do his remarkable thing on YouTube.

The standard answer to "how do I do X with Maven" is "do it the Maven way then you won't have to". Put your source files here and your resources there, say "I want a jarfile" and Maven will magic it up for you. Which is great, if you have source files and resources and want a jar file.

Space Hulk. Cleanse and Purify.

In this case, I have some source files and I have a set of resources and I want a jar file. Sounds perfect! Except I need to take a copy of some the resource files first and do a little bit of processing on them. Our Ant builds use a common core which, much like Maven, does the right thing if the bits are in the right places. Customizing to do this tiny extra step took about a dozen extra lines in the build file. Modifying my new Maven pom.xml to do the same takes around 60 and includes the entirety of the original Ant version. I am not entirely sure what I've gained at the moment.

More gymnastics - Rhythic Gymnast Shin Soo-ji throws the first pitch at a baseball game. It's not so much the throw as the player reactions that make this.

Next - generating some sources for a WSDL descriptor. Don't wait up.


Tagged gymnastics, and for-the-emporer


Jez Higgins

Freelance software generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About