To easen applying the patch:
1. Copy the source directory as another name (for example, patch).
2. Overwrite the original files in the patch directory (DateAxis.java, etc) with the patched ones. Note that you don't have to call them by a different name, it's better to overwrite the original files with the patched ones.
3. Apply diff from the distribution root to the patch and sources directories. For example:
- Code: Select all
diff -NaurB source patch > MinorTicks.diff
That should make a diff with all the changed files at once, so it can be applied directly with patch -p0 < MinorTicks.diff over a plain jfreechart 1.0.10 distribution. Always use relative routes. Never use absolute paths unless there's a good reason for it.
I'm not sure about the options to use for the diff but I've found this options searching for "diff make patch" in google and then looking at the "man diff" command. If you are on windows, you can search "man diff" in google which should point you to an online man pages version.