diff --git a/docs/ant_task_guidelines.html b/docs/ant_task_guidelines.html index 50cb12918..96ac76830 100644 --- a/docs/ant_task_guidelines.html +++ b/docs/ant_task_guidelines.html @@ -355,12 +355,34 @@ The basic mechanism is to mail it to the dev mailing list. It helps to be on this list, as you will see other submissions, and any debate about your own submission.
- +You may create your patch file using either of the following approaches. +The committers recommend you to take the first approach. +
+
+Use Ant to generate a patch file to Ant: +
+ant -f patch.xml ++This will create a file named patch.tar.gz that will contain a unified +diff of files that have been modified and also include files that have +been added. Review the file for completeness and correctness. This approach +is recommended because it standardizes the way in which patch files are +constructed. It also eliminates the chance of you missing to submit new files +that constitute part of the patch. +
+
Patches to existing files should be generated with
cvs diff -u filename
and save the output to a file. If you want to get
the changes made to multiple files in a directory , just use cvs
-diff -u
. The patches should be sent as an attachment to a message titled [PATCH]
+diff -u. Then, Tar and GZip the patch file as well as any new files
+that you have added.
+
+The patches should be sent as an attachment to a message titled [PATCH]
and distinctive one-line summary in the subject of the patch. The
filename/task and the change usually suffices. It's important to include
the changes as an attachment, as too many mailers reformat the text
diff --git a/patch.xml b/patch.xml
new file mode 100644
index 000000000..339b8b9ca
--- /dev/null
+++ b/patch.xml
@@ -0,0 +1,43 @@
+
+
+
+