Ant: Trimming Properties via Inline Javascript

February 8, 2012

I have had to trim spaces as well as perform other logic (such as parsing the sections of a x.y.z build number) on properties within Ant. Unfortunately, this is not built into Ant. The Ant-contrib library has several methods to doing this, but I had the restriction of not using a third party library. The […]

Comments Off on Ant: Trimming Properties via Inline Javascript

Demonstrating Java Type Erasure

February 7, 2012
Tags: , ,

Type erasure is a term many people in the Java world do not know or understand. I think it is important to at least understand what it means…not the byte code behind it, but the semantics and its effect on your application. I’ve talked about this in other blog posts here, but today I figured […]

Comments Off on Demonstrating Java Type Erasure