You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2009/03/17 14:37:59 UTC
Submitting Website Patches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tomcat committers,
What is the best way to submit a patch for the Tomcat website docs --
like ones that are linked-to from this page:
http://tomcat.apache.org/tomcat-6.0-doc/index.html
Lots of complaints are made on the list about docs missing important
information, giving the wrong impression, etc. and the response is
always "patches are always welcome".
The SVN tree doesn't appear to contain the website, even under the
"site" tree. There are some files in there, but not all of the config
references and stuff like that.
I'd love to submit a patch or two but I'm not sure where to get the
current version. Should we just grab the latest version off the website
and send-in a diff against that?
Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkm/p7cACgkQ9CaO5/Lv0PB0MgCgtnVi8I2SvFoh06FEK4hLDkSL
Y10AnA19ULUXfZajxNFVwYT/NMM9j4Yc
=pmd+
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Submitting Website Patches
Posted by Rainer Jung <ra...@kippdata.de>.
[Mark was faster, but since I already wrote this I'll send anyhow]
Hi Chris,
On 17.03.2009 14:37, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Tomcat committers,
>
> What is the best way to submit a patch for the Tomcat website docs --
> like ones that are linked-to from this page:
> http://tomcat.apache.org/tomcat-6.0-doc/index.html
>
> Lots of complaints are made on the list about docs missing important
> information, giving the wrong impression, etc. and the response is
> always "patches are always welcome".
>
> The SVN tree doesn't appear to contain the website, even under the
> "site" tree. There are some files in there, but not all of the config
> references and stuff like that.
>
> I'd love to submit a patch or two but I'm not sure where to get the
> current version. Should we just grab the latest version off the website
> and send-in a diff against that?
The website is produced out of xml files. So best would be patches
against those. Here's the recipe for the docs part of the website.
You'll need a subversion client and ant.
- Check out https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk
svn checkout https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk
- Go to the source directory for the docs
cd trunk/webapps/docs
If you want to change a file, which is named e.g. introduction.html on
the docs website, look for introduction.xml in this directory. The
internal structure of the files is relatively simple and close to html.
- Edit the file you want.
- Generate the html docs
The docs are generated using a style sheet named tomcat-docs.xsl in this
directory.
Go to the trunk main directory. Ensure Java 5 is in your path and ant is
available. Then do
ant build-prepare
which will once create a couple of target directories, and then
ant build-docs
whenever you changed something to the docs. The result should appear in
output/build/webapps/docs
- Check whether the result look fine.
- Supply patches
by going to the source directory
cd webapps/docs
and then doing
svn diff
Hope that works for you?
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Submitting Website Patches
Posted by Mark Thomas <ma...@apache.org>.
Christopher Schultz wrote:
> Tomcat committers,
>
> What is the best way to submit a patch for the Tomcat website docs --
> like ones that are linked-to from this page:
> http://tomcat.apache.org/tomcat-6.0-doc/index.html
>
> Lots of complaints are made on the list about docs missing important
> information, giving the wrong impression, etc. and the response is
> always "patches are always welcome".
>
> The SVN tree doesn't appear to contain the website, even under the
> "site" tree. There are some files in there, but not all of the config
> references and stuff like that.
>
> I'd love to submit a patch or two but I'm not sure where to get the
> current version. Should we just grab the latest version off the website
> and send-in a diff against that?
The docs on the website are just copies of the docs webapp for the latest stable
release of each major Tomcat version.
Relevant svn links are:
6.0.x: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/
5.5.x: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/
4.1.x:
http://svn.apache.org/viewvc/tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/
Mark
>
> Thanks,
> -chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Submitting Website Patches
Posted by Martin Gainty <mg...@hotmail.com>.
did you verify this error is not already documented and patch applied
https://issues.apache.org/bugzilla/show_bug.cgi
?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided.
> Date: Tue, 17 Mar 2009 09:37:59 -0400
> From: chris@christopherschultz.net
> To: users@tomcat.apache.org
> Subject: Submitting Website Patches
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Tomcat committers,
>
> What is the best way to submit a patch for the Tomcat website docs --
> like ones that are linked-to from this page:
> http://tomcat.apache.org/tomcat-6.0-doc/index.html
>
> Lots of complaints are made on the list about docs missing important
> information, giving the wrong impression, etc. and the response is
> always "patches are always welcome".
>
> The SVN tree doesn't appear to contain the website, even under the
> "site" tree. There are some files in there, but not all of the config
> references and stuff like that.
>
> I'd love to submit a patch or two but I'm not sure where to get the
> current version. Should we just grab the latest version off the website
> and send-in a diff against that?
>
> Thanks,
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkm/p7cACgkQ9CaO5/Lv0PB0MgCgtnVi8I2SvFoh06FEK4hLDkSL
> Y10AnA19ULUXfZajxNFVwYT/NMM9j4Yc
> =pmd+
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
_________________________________________________________________
Windows Live⢠Groups: Create an online spot for your favorite groups to meet.
http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009