tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <tho...@amxstudios.com>
Subject Re: Apache's RPM packaging layout poll
Date Mon, 16 Oct 2000 16:22:27 GMT
At some point around Mon, Oct 16, 2000 at 06:16:12 +0200, GOMEZ Henri said:
> >From what I saw in current the poll, and
> derived from Debian Policy :
> 
> 1) All java jars (libs like xerces, xalan) must go to /usr/share/java/
> 
> 2) Binaries (tomcat.sh or ant.sh) go to /usr/bin
> 
> 3) Data used by program goes in /var/app (ie /var/tomcat). RHL 7.0
>    follows this way since DocumentRoot is now /var/www/html instead
>    of previous /home/httpd/html. 
> 
>    So some of the tomcat datas (webapps, work, logs) could go there
>    /var/tomcat/webapps/    /var/tomcat/work/     /var/tomcat/logs/
> 
> 4) Config goes in /etc/appname (ie /etc/tomcat/ or /etc/tomcat/conf)
> 
> 
> I'll modify all my java RPM to follow this policy. If any of you have
> objection, fell free to forward advice directly to me (we don't have
> send excessive mail to list not stricly related to RPM)
> 
> Also Costin said we could test split dir for TC 3.2 
> "
> Tomcat 3.2 should work with a split directory _if_ full paths are used in
> config
> 
> file - I tested this few times and it seemed to work fine, but of course
> you'll
> need
> to do much more testing and I would say this is very dangerous ( you can
> provide
> 
> it as an experimental or optional RPM, it's certainly not something we can
> support).
> Anyway - the code is in.
> "
> 
> I'll try it soon.
I've had the split-dir support working when I debianised
tomcat-3.2 a while back - it worked fine, but you do absolutely
have to have full paths, otherwise you get some very
*interesting* errors :-)

I think this is definitely the best way to go about packaging
this :-)
Nice one Henri :-)

-Thom

Mime
View raw message