For information on how to get started with Jetspeed-2 source code, check Building Jetspeed 2.1.x from Source with Maven-2.
When working with Eclipse with the Subclipse plugin,
it is possible to generate a patch for the code changed as illustrated below: