The information on these pages may be out of date, or may refer to
resources that have moved or have been made read-only.
For more information please refer to the
Apache Attic
The Apache Harmony project really needs and appreciates any contributions, including documentation help, source code and feedback. Suggested changes should come in the form of source code and/or very detailed and constructive feedback.
You may have heard or read about Harmony's strict rules for contributor's eligibility. We take this seriously because a number of parties implement Java, and we respect their rights to their property. If you have detailed knowledge of another implementation of Java, and they have not explicitly approved your participation in Harmony, please check whether we will be able to accept your contribution by reading the Apache Harmony contribution policy.
One of the best ways to get involved in the Harmony project is to create patches or additions and contribute them. When you propose a specific change to the software for discussion or voting on the mailing list, you should present in the form of input to the patch command. All contributions should be made via a new entry in our project JIRA.
Once you are sure you have tested/reviewed your changes, do the following:
diff
utility to create a patch as follows:
svn diff file.java > file.patchwhere
file
is the filename that you have changed. This will produce a
nice patch file that can be added to the
JIRA, which makes it easy for
the project committers to review and possibly accept your patch.
Example
diff -u http_main.c.orig http_main.c >> patchfile.txt
Note
The diff
command only shows differences for
text files, and not binary files. So even if you did svn add
on
a binary file (gif, jar, png etc.), it won't show up in the patch, and will fail
to apply. The key string to look out for in the patch is:
Cannot display: file marked as a binary type.If you see that, you'll also need to attach the binary files that have changed separately to the issue. To get a list of such files in
file.patch
, run:
grep -B 2 "Cannot display" file.patch