Listing Classes in a Java Package

July 18, 2014

I needed to list the Classes that existed in a Java Package. It isn't possible to do this with the default JVM, but there is a third party library called Reflections that can do the job.

Once the library and its dependencies are on the classpath, the following code ...

Building Plugins for Bamboo

June 24, 2014

I want to make a change to the way the Tomcat deployment plugin works for Bamboo, so that I can deploy with a wildcard in the WAR file name. This will let me use Tomcat 7 features to deploy multiple copies of the same WAR file and have users automatically ...

Troubleshooting Git via Stash

June 18, 2014

I have a Git repository set up on Stash from Atlassian. I've just done my first push to it and encountered the following issues:

Problem 1 - error: RPC failed; result=55, HTTP code = 0

Whilst pushing, I got the following error:

C:\dev\code>git push origin master
Password ...

Using LVM

June 6, 2014

Logical Volume Manager in Linux allows you to add physical disks to groups and then assign those groups to directories on disk. You can grow or shrink groups as you need to, and groups can span multiple physical disks. I'm using Debian Wheezy.

Definitions

  • A volume group (VG) gathers ...

Restarting NFS without reboot

June 6, 2014

If you've made a change to /etc/exports, you can tell NFS to read the file again without disrupting any existing sessions using:

# exportfs -a

References

Tags: nfs export