Jan 152011

Specifically, I’m attempting today to deploy the Perforce P4Java api to the Sonatype core Maven repository. Sonatype has plenty of documentation on this process, but most of them make the assumption that you are building the artifacts from source, and that you are already familiar with maven. I’m a maven newbie and I obviously don’t have the source. Here’s a quick rundown of how I did.
Continue reading »

Jan 142011

So I’ve got this ridiculous task ahead of me… I somehow need to call a Spring Bean data access object (DAO) from InstallAnywhere using groovy scripting. The idea is that the webapp being installed has all the code in order to set up the database, but there are certain things that need to be done by the installer. Part of getting this working is dynamically loading jars from a directory, and using reflection to grab the class and method I need to call…
Continue reading »

Jan 122011

I ran into this obsurd issue today. Apparently Suse 11 zLinux doesn’t handle partition creation properly on DASD disks. When it gets to actually running the fdasd command (zLinux version of fdisk, as near as I can tell) it simply hangs there forever.

The work around is pretty basic, just exit out of yast, and launch fdasd manually.

fdasd /dev/dasdc

The usage is basically identical to fdisk, except partitions are measured in tracks instead of blocks or sectors, and there are only two partition types instead of the multitude offered by regular partition tables.

After you’ve done that and written out your changes, you can jump back into yast to finish whatever you needed to do with it (formatting, creating volume groups etc.)

Jan 082011

Just ran into this issue while setting up a CentOS 4.7 test virtual machine for some debugging work. After some digging around on the webernets, I found this little gem.

Basically, the kernel is hardcoded for a higher timer frequency than VirtualBox is providing. 10 times in fact. The simple solution is to add divider=10 to the kernel options. This slowed the clock of the guest down to a more accurate level.

Jan 062011

This recently came up in the hudson users mailing list, so I figured I’d post it here.

Lets say you wanted to setup a downstream job that would only run when certain conditions are met (such as certain build parameters, or anything else for that matter). Well, this is what I typically use the Groovy Postbuild Plugin for!
Continue reading »

Jan 052011

What follows is a chronicle of my efforts in getting Suse SLES 11 installed in Hercules. Hopefully it will be of use to others who need to deal with this ridiculous 31 bit platform.

Recently I received a request to build a product for a rather ridiculous platform, S380. Needless to say, this is one of those IBM platforms where they try to create their own standards, breaking all conventions when doing so, and selling it at 100x the cost.

Continue reading »