jikes is a fast java compiler which can be used by Tomcat to speedup the JSP compilation process. In order to enable it, two files need to be changed: $TOMCAT_HOME/conf/web.xml, where jikes is declared as compiler to be used (jikes-1.diff takes care of it) and /etc/conf.d/tomcat, where a special command line parameter is given to tomcat (jikes-2.diff takes care of it). Tomcat comes with the directories "jsp-examples", "servlets-examples" and "tomcat-docs". In the provided ebuild diff, they are all removed if the USE flag "doc" is set to "no, please". ;-) NOTE: I did not write the ebuild from scratch, but I used the tomcat-4.1.24-r1.ebuild as example (I edited it). I hope this doesn't make the diff less understandable. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 25941 [details] diff w/ old ebuild, patches for jikes Excuse me, I forgot to add the file when I filed the bug. :-)
Fixed in portage now with some of your suggestions. If you have any more suggestions with the new ebuild, let me know. I appreciate all the help. Also, next time you submit diff's, please use diff -Naur :)