Grouper v2.5 container apply patch
Generally there are no patches in v2.5.
Applying patches
Applying patches is an advanced task, be careful.
However if you need to try to adjust code, you can:
Make or get a patch from the dev team
Generally this is a zip of a code in a package that starts with "edu"
You need to mount this or make a subimage
The "edu" directory of the patch needs to be in /opt/grouper/grouperWebapp/WEB-INF/classes
So that /opt/grouper/grouperWebapp/WEB-INF/classes/edu exists
Pay attention before copying if the edu folder already existed or if any files were there
The container needs to be removed and run
On the next upgrade of container, you MUST remove these files (but not remove other files already in "edu/" in your container if any exist
To revert the patch, just remove the files, and remove container and run again
Creating patches
This is how Chris creates patches, you can do this however you want as long as the result is the same
Create an empty patch dir
In the dev env, copy the source "edu" folder to the patch dir
Do through and delete all stuff not needed
This is done so all directories match. If you create folders and copy files needed in, then you might get something wrong
Go to the classes dir in IDE, for the files needed, and copy all files to the right folder
Note, you need to get all anonymous inner classes too (with dollar sign in url)