Eric Miles
Mar 23 2010
Introduction
Sonatype has released a nifty utility called Maven Shell that allows developers to execute maven goals/phases in a pre-loaded shell environment, significantly reducing the build time. It does this by loading up a JVM, Maven, and any loaded plugin once and leverages that existing load for each subsequent build. I downloaded the .10 binary and played around with it with a very simple multi-module project. Here is a quick primer on some of the things you can expect from Maven Shell.
Mar 19 2010
BlackBerry APIs Need Some Work
While unstaffed the last few weeks, a manager tapped me to help put together a BlackBerry proof of concep for one of our clients. I have had experience working on a BlackBerry project from a previous employer's project, however I did not have hands on experience programming the device myself. I was looking forward to this as I had been wanting to do some dabbling with mobile devices, I just had not had the time.
Mar 05 2010
Programmatically Purging EHCache in WLST
In my previous blog, we discussed how to locate MBeans within the custom tree. We're going to piggy back that discussion and show how to purge an EHCache MBean by executing the removeAll() operation.
For reference, let's see the findMBean() helper method we defined previously:
Mar 05 2010
My collegue Ron DiFrango recently wrote a blog about exposing custom MBeans within the WebLogic container. Both Ron and myself experienced similar frustrations when trying to work with custom MBeans and his blog is a must read if you're having difficulty finding yours.
Once the container is setup as directed in Ron's blog, you'll quickly notice that several of WLST's APIs for navigating do not work in the custom tree; most notably is the find API. The lack of a find API is especially troubling when you have MBeans such as ones for EHCache that use the memory location as part of the unique identifier, for example:
Feb 08 2010
Maven Release Non-supported SCM Structures
As I've mentioned in previous blogs (Maven Release Woes with Flat Project Structures and Maven Release with Flat Structures Revisited), the support for custom SCM structures is spotty in the release plugin. It is highly desirable to leverage the release plugin as it provides a lot of functionality we do not want to have to duplicate. By using profiles and activations, we can still leverage the release plugin with only marginal manual intervention.