I'm sure there are a lot of people like me who have ANT scripts that expect the usual layout under $CATALINA_HOME After I installed I had to do mkdir -p $CATALINA_HOME/shared/lib mkdir -p $CATALINA_HOME/shared/classes ln -s /etc/tomcat-5/default $CATALINA_HOME/conf I like gentoo as the distributions are generally not messed around with and splattered across the filesystem as much as other distros. Could this be put in as part of the install (or maybe it failed on my install for some reason). Many, many thanks Reproducible: Always Steps to Reproduce: 1. 2. 3.
still in tomcat 5.0.28-rc8
I don't like the fact the we make so many keepdirs in the Tomcat ebuild already, but maybe it is just me. How would you feel about making a pkg_config() that creates all those directories and then instructing the user to run emerge --config =${PF} in pkg_postinst() if he wants those directories created for him?
One of the reasons for using servlets is platform independence. I regard the directory layout as part of that independence. Admittedly, tomcat isn't part of the servlet specification, but it is the reference implementation, running on any JVM. This obviously isn't a show stopper, but I think other people will find not having the usual layout annoying, and I assumed it would be easy to just put the empty dirs in to the build. Many thanks!
Adding the directories is easy, but they will be left on the system also after unmerge. Well we should be as close to the upstream as possible so our ebuild should create those directories when upstream also does it.
Fixed. Thanks for reporting. Actually the ebuild did try to create the directory to $CATALINA_HOME but portage cleans empty directories. The newest -r9 creates the directories correctly to the default $CATALINE_BASE.