Embracing the Messiness in Search of Epic Solutions

Month: July 2014

  • OS X + Sed: “extra characters at the end of l command” Error

    PROBLEM When executing the following command on OS X… … the following error occurs:- SOLUTION Unlike Ubuntu, OS X requires the extension to be explicitly specified. The workaround is to set an empty string:- … and now, Megatron has transformed into a pony. Read More…

  • Maven: Unable to Execute Spock Specs

    PROBLEM When running mvn clean test, Maven Surefire Plugin doesn’t pick up *Spec.groovy test files. SOLUTION By default, Maven Surefire Plugin is configured to execute test files with the following patterns: **/Test*.java, **/*Test.java and **/*TestCase.java. To fix this, we need to modify the inclusion list for this plugin. Since both Java and Groovy files get… Read More…