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 [...]

0

Java Performance: Map vs If/Else

December 17, 2010

I came across an interesting javascript article the other day on how not to write javascript: Google Closure: How not to write JavaScript The interesting part of this article that caught my eye was using a map instead of a switch or if/else statement to check for string comparisons. This got me thinking of whether [...]

2