You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/15 16:18:10 UTC

[Lenya Wiki] Update of "CodeContribution" by GregorRothfuss

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.

The following page has been changed by GregorRothfuss:
http://wiki.apache.org/lenya/CodeContribution

The comment on the change is:
moved to lenya docs

------------------------------------------------------------------------------
- = How-To Contribute Code to Lenya =
+ deleted
  
- You can contribute code as an "Enhancement Patch". For this, you file a bug entry in Bugzilla, using the links provided below. The bug entries in Bugzilla should provide a description of what the patch does, and how to apply it. Any further discussion should occur on the Lenya Developer list 
- (see [http://cocoon.apache.org/lenya/community/mailing-lists.html mailing lists])
- 
- == Preparing a Patch ==
- 
-  1. Write and check your code, making sure you follow the [http://cocoon.apache.org/lenya/docs/misc/coding-guidelines.html coding guidelines].
- 
-   * Test the new Webapp as generated by {{{build}}}
-   * Make sure the Lenya test classes still compile, by running {{{build test}}}
- 
-  1. Make sure you have added meaningful javadocs, at least to all classes and methods and to public fields.
- 
-  1. The patch will consist of the differences between the code you have stored locally and the code in the SVN repository. It is best to generate a patch with a IDE like Eclipse to make sure you catch all the files you need.
- 
-   * Preparing a patch using the Eclipse IDE:
-          * get the Lenya sources from svn within Eclipse, see [http://GETLenya Get Lenya for Eclipse Users]
-          * ensure your environment is set to UTF-8 encoding. When you choose the project "lenya" in Eclipse, and show the properties, see the field "Default encoding for text files". This ''must'' be set to "Inherit from container (UTF-8)". If not, you need to change your environment so that UTF-8 is the default encoding. It is not sufficient to override this in Eclipse, as Eclipse relies on the environment when creating a patch
-          * edit your code within Eclipse
-          * in the context-menu, choose "Team - Create Patch ...". Choose "Save in File System", "Next >". Make sure that "Recurse into sub-folders" is set. If have created any new files, make sure "Include new files in patch" is set. Choose "Unified" as diff format.
- 
-          
-  1. Test your patch by applying it to a fresh checkout of Lenya. 
- 
-   * Testing a patch using Eclipse:
-    * retrieve a fresh version of Lenya from SVN into another Eclipse project (use a different name)
-    * in the context-menu, choose "Team - Apply Patch ...". Choose your file and click on "Next >". Now verify that all desired files appear, and their checkboxes are checked, without warnings. If not, click on the file details and see what is wrong. You will need to recreate your patch, once you have eliminated the problems. 
- 
- == Submitting a Patch ==
- 
-  * Read the Cocoon documentation [http://cocoon.apache.org/2.1/howto/howto-bugzilla.html How to Contribute a Patch via Bugzilla].
-  * Then, follow this link to enter your patch in Bugzilla: [http://nagoya.apache.org/bugzilla/enter_bug.cgi?reporter=&product=Lenya&version=Current+CVS&component=core&rep_platform=Other&op_sys=other&priority=Other&bug_severity=Enhancement&bug_status=NEW&assigned_to=&cc=&bug_file_loc=&short_desc=%5BPatch%5D&comment=&maketemplate=Remember+values+as+bookmarkable+template&form_name=enter_bug add a new patch]
- 
- == Current patches ==
-   
-  * [http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_severity=Blocker&bug_severity=Critical&bug_severity=Major&bug_severity=Normal&bug_severity=Minor&bug_severity=Enhancement&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Lenya&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=short_desc&type0-0-0=substring&value0-0-0=%5BPatch%5D&field0-0-1=noop&type0-0-1=noop&value0-0-1=&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time list of all provided patches]
- 
-  * [http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_severity=Enhancement&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Lenya&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=short_desc&type0-0-0=notsubstring&value0-0-0=%5BPatch%5D&field0-0-1=noop&type0-0-1=noop&value0-0-1=&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time list of all provided enhancement bugs]
- 
- 
- 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org