<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>106906</bug_id>
          
          <creation_ts>2005-09-22 10:58 0000</creation_ts>
          <short_desc>tomcat 5.0.28-rc7 installation doesn&apos;t create some (empty) dirs in $CATALINA_HOME</short_desc>
          <delta_ts>2005-10-17 14:08:00 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>spam123@jamesAshepherd.com</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>spam123@jamesAshepherd.com</who>
            <bug_when>2005-09-22 10:58:45 0000</bug_when>
            <thetext>I&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spam123@jamesAshepherd.com</who>
            <bug_when>2005-10-16 01:45:22 0000</bug_when>
            <thetext>still in tomcat 5.0.28-rc8</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-10-16 15:09:20 0000</bug_when>
            <thetext>I don&apos;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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jshepher@stat.ubc.ca</who>
            <bug_when>2005-10-17 11:47:22 0000</bug_when>
            <thetext>One of the reasons for using servlets is platform independence.

I regard the directory layout as part of that independence. Admittedly, tomcat
isn&apos;t part of the servlet specification, but it is the reference implementation,
running on any JVM.

This obviously isn&apos;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!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-10-17 13:11:41 0000</bug_when>
            <thetext>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. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-10-17 14:08:00 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>