How To Create Patch For Stendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Madmetzger
imported>Madmetzger
Line 9: Line 9:
== Eclipse way ==
== 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.
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.
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.


[[File:How-to-create-patch-01.PNG]]
[[File:How-to-create-patch-01.PNG]]


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. For creating a patch file you also have to select a file name and location for the patch. You can easily select a target folder and file name by clicking on ''Browse''. The last thing you have to choose on this windows are the changes. If you want to bring all current differences to CVS into the patch file just tick the root node of the shown project tree.
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. For creating a patch file you also have to select a file name and location for the patch. You can easily select a target folder and file name by clicking on ''Browse''. The last thing you have to choose on this windows are the changes. If you want to bring all current differences to CVS into the patch file just tick the root node of the shown project tree in the ''Changes'' area of the window.


[[File:How-to-create-patch-02.PNG]]
[[File:How-to-create-patch-02.PNG]]


In the next step which is also the final step you need to specify two other options. Just select the options as shown in the screenshot and click on ''Finish''.



[[File:How-to-create-patch-03.PNG]]
[[File:How-to-create-patch-03.PNG]]

After clicking on finish you will not get any further notice but the patch file should now be available in the previously selected folder.


== Command line way ==
== Command line way ==