Chris -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Saturday, September 24, 2016 11:55 AM To: Tomcat Users List Subject: Re: JreMemoryLeakPreventionListener docs example
[SNIP] >>>> So, could we add a small example server.xml snippet to the >>>> JreMemoryLeakPreventionListener documentation to make it >>>> clear to newbies how to add the classesToInitialize option? [SNIP] >> Sure, how do I get started? > Use a subversion client to check out a copy of this URL: > > https://svn.apache.org/repos/asf/tomcat/trunk > > Then, edit webapps/docs/config/listeners.xml and look for > JreMemoryLeakPreventionListener. That file is a mix of HTML > and XML that gets transformed into HTML by an XSLT as part > of the build process. > > You can test your edits by running "ant build-docs" and then > viewing the generated .html files in your web browser. > > Once you are happy with your edits, do this: > > svn diff > my-great-patch.diff > > ... and attach it to a Bugzilla ticket describing what you are > trying to do (e.g. "Improve documentation for > JreMemoryLeakPreventionListener") . Thanks for the instructions. Wow. OK, will do. >> Yay, I'm going to be *famous*! :-D > > It's a slippery slope, my friend. After this, I'll be pressuring > you for trivial code patches :) Code? What is this "code" of which you speak? ;-) -- Cris Berneburg, CACI Lead Software Engineer