How To Create Patch For Stendhal: Difference between revisions
imported>Madmetzger |
imported>Madmetzger |
(No difference)
| |
Revision as of 16:50, 29 March 2010
If you want to contribute to Stendhal with some changes to some files you can ease us integrating the changes if you create a patch file for your changes. There are two neat ways to do that. We are going to describe here how to create a patch on each of this ways.
As a prerequisite for both ways of creating a patch is a checked out version of Stendhal.
Common best practices for patches and CVS
- keep your local copy of Stendhal regularly up to date to avoid merge conflicts
TODO: list best practice tipps
Eclipse way
When you use Eclipse it is quite easy for you to create a patch against current head version in CVS. Before creating a patch you should update your local copy of the sources to the most recent version.
TODO: describe update process necessary?
After updating your Stendhal project you can start the patch creation by right clicking on the project. In the appearing context menu select Team and Create Patch in the team submenu. This will open up a wizard for creating patches.
The first wizard page asks you where to create the patch. For submitting a patch to our patches tracker you should choose file as selected in the next screenshot.
Command line way
TODO: describe how to create a patch via CLI