First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 106906
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: James A Shepherd <spam123@jamesAshepherd.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 106906 depends on: Show dependency tree
Bug 106906 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-22 10:58 0000
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.

------- Comment #1 From James A Shepherd 2005-10-16 01:45:22 0000 -------
still in tomcat 5.0.28-rc8

------- Comment #2 From Petteri Räty 2005-10-16 15:09:20 0000 -------
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?

------- Comment #3 From James A Shepherd 2005-10-17 11:47:22 0000 -------
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!

------- Comment #4 From Petteri Räty 2005-10-17 13:11:41 0000 -------
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. 

------- Comment #5 From Petteri Räty 2005-10-17 14:08:00 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug