Category Archives: Build

Gradle Task to Validate Clover On OFF Comment

One way to tell Clover to skip instrumentation of a chunk of code is to enclose the code with “/// CLOVER:OFF” and “/// CLOVER:ON”. For example, you may want to skip the JMockit expectation and verifications chunks. /// CLOVER:OFF new … Continue reading

Posted in Build, Java, Tool and Debug | Tagged , , , , , | Leave a comment

Java Code Exclusion for Backporting

Sometimes we need to exclude a few classes/packages from the the final product build. For example, we need to cherry pick some latest changes and apply them back to an old product deployed with older JVM. If some of the new … Continue reading

Posted in Build, Java, Tool and Debug | Tagged , | Leave a comment

Install VirtualBox Guest Additions

After upgrading my VirtualBox to 4.3.6 and installing Kubuntu 13.10, I had some problems to install the Guest Additions. After a few hours struggling, I made it work eventually. Here is the notes: Step #1: Make sure the Guest Additions … Continue reading

Posted in Build, Linux, Tool and Debug | Tagged , , , | Leave a comment

Linux WiFi Driver (BackPorts) ARM Cross Compile

This is a link to one of my previous works aiming to backport the latest (in Linux 3.11 kernel tree) WiFi chipset driver to ARM based Linux kernel 2.6.39.

Posted in Build, Linux | Tagged , , , , , | Leave a comment