You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Faisal CM <c....@hotmail.com> on 2010/12/17 14:35:08 UTC
Getting Started Tomcat Development
HI All,I recently started investigating an enhancement, ended up a few questions to ask how tomcat development process works?e.g https://issues.apache.org/bugzilla/show_bug.cgi?id=499391) - How can i make sure that patch meets the exact requirement as if enhancement does not say much?2) - Can i get information/guideline of all the steps needs to be done before submitting a patch through bugzilla (e.g proposed patch, testcases etc)?3) - Any information/best practices that would help in diagnosing the problem, and testing the scenario in tomcat development.
ThanksFaisal
Re: Getting Started Tomcat Development
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Faisal,
On 12/17/2010 8:35 AM, Faisal CM wrote:
> How can
> i make sure that patch meets the exact requirement as if enhancement
> does not say much?
Your patch should be as small as possible to fix the issue / enhancement.
> 2) - Can i get information/guideline of all the
> steps needs to be done before submitting a patch through bugzilla
> (e.g proposed patch, testcases etc)?
Technically, you can submit anything you'd like. /Successful/ patches
should:
0. Not contain any tab characters :)
1. Solve the problem in the bug
2. Include any appropriate documentation (new configuration,
notes about behavior, etc.)
3. Include unit test cases if appropriate
4. Not include additional changes (code formatting, etc.)
5. Not break anything else :)
Thanks for your contribution(s),
-chris
Re: Getting Started Tomcat Development
Posted by Mark Thomas <ma...@apache.org>.
On 17/12/2010 13:35, Faisal CM wrote:
>
> 3) - Any information/best practices that would help in diagnosing the problem, and testing the scenario in tomcat development.
1. Confirm the cache is being used (test web app, tracing the request
with a debugger etc)
2. Add/expose a method to clear the cache
3. Use it via JMX
4. Confirm the cache is cleared
5. Provide your changes in diff -u format as a patch to BZ 49939
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org