|
Page Edited :
openjpa :
Coding Standards
Coding Standards has been edited by Michael Dick (May 27, 2009). Change summary: Adding some thoughts on testcase conventions.. Coding StandardsASF RequirementsCopyright notices for submitted patchesPlease see http://www.apache.org/legal/src-headers.html Apache does not require you to assign ownership or copyright for any patches that you submit via the above process. You retain ownership for all such patches. But Apache does require you to grant Apache a license to use the patch. To do this for new files, do not include a copyright statement in the file but include this license as comments in the header of your source contribution - http://www.apache.org/legal/src-headers.html#headers License and Notice filesPlease see http://www.apache.org/licenses/ All release artifacts published by an Apache project (JAR/WAR/EAR, zip, tar, ...) must include License and Notice files. A Disclaimer file must be included for any artifacts included form the incubator. General Formatting ConventionsOpenJPA adheres to Sun's Code Conventions for the Java Programming Language, which is available at http://java.sun.com/docs/codeconv/
Eclipse UsersFormatter ProfileThe profile can be downloaded from here - OpenJPA-formatting-preferences.xml
Code TemplateThe latest version with the required ASL header format can be downloaded here - OpenJPA-code-style-template.xml
Submitting a PatchIf you make changes to OpenJPA, and would like to contribute the to the project, you should create a patch via svn and post it to the OpenJPA JIRA issue tracker $> svn diff > your-changes.patch Note: You may also use Eclipse to create a patch (Team -> Create Patch...), but this may require committers to modify the patch to match their project layout (workspace per branch or all branches in one workspace) and some committers may not be using Eclipse/Subclipse.
|
Unsubscribe or edit your notifications preferences
