Re: Java webapps and configuration files

2010-08-23 Thread Russ Allbery
Matthew Johnson writes: > On Sun Aug 22 17:41, Russ Allbery wrote: >> Matthew Johnson writes: >>> I'm not sure that you need to ship them as conffiles though - lots of >>> package have this sort of thing in /usr/share/doc/$package/examples >>> (the jsp) - so you would build a default war from th

Re: Java webapps and configuration files

2010-08-23 Thread Matthew Johnson
On Sun Aug 22 17:41, Russ Allbery wrote: > Matthew Johnson writes: > > > I'm not sure that you need to ship them as conffiles though - lots of > > package have this sort of thing in /usr/share/doc/$package/examples (the > > jsp) - so you would build a default war from those (on install?) and > >

Re: Java webapps and configuration files

2010-08-22 Thread Russ Allbery
Matthew Johnson writes: > I'm not sure that you need to ship them as conffiles though - lots of > package have this sort of thing in /usr/share/doc/$package/examples (the > jsp) - so you would build a default war from those (on install?) and > then users can build their own from the examples if t

Re: Java webapps and configuration files

2010-08-22 Thread Matthew Johnson
On Thu Aug 19 21:10, Russ Allbery wrote: > 3. Rather than using a context file to point to a complete file system >version of the deployed webapp, ship the code portions in /usr/share, >the configuration files (like web.xml and the JSPs) in /etc, and >include in the package a script tha

Re: Java webapps and configuration files

2010-08-21 Thread tony mancill
On 08/21/2010 07:23 AM, Tom Marble wrote: > On 08/21/2010 12:19 AM, Torsten Werner wrote: >> BTW I do not like your 3rd option at all. It sounds unsupportable in >> the long run and the local admin has to learn a new tool which is only >> used in Debian and only for Tomcat based apps. We should eit

Re: Java webapps and configuration files

2010-08-21 Thread Tom Marble
On 08/21/2010 12:19 AM, Torsten Werner wrote: > BTW I do not like your 3rd option at all. It sounds unsupportable in > the long run and the local admin has to learn a new tool which is only > used in Debian and only for Tomcat based apps. We should either use > some existing solution or something g

Re: Java webapps and configuration files

2010-08-21 Thread Niels Thykier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010-08-21 14:43, Faidon Liambotis wrote: > Torsten Werner wrote: >> 1) Good webapps support theming. The local admin can put override >> files into some different directory. > FWIW, jspwiki has a template mechanism. The package (already in the >

Re: Java webapps and configuration files

2010-08-21 Thread Faidon Liambotis
Torsten Werner wrote: > 1) Good webapps support theming. The local admin can put override > files into some different directory. FWIW, jspwiki has a template mechanism. The package (already in the archive) requires the admin to put his own templates under /usr/share/jspwiki/templates (i.e.

Re: Java webapps and configuration files

2010-08-20 Thread Russ Allbery
Russ Allbery writes: > Torsten Werner writes: >> 2) I thinks about how is it done in the good old Unix way? If you want >> to modify /bin/true you can put your own implementation into >> /usr/local/bin and you are done. Does Tomcat use some PATH like >> variable to load jsp and css files where s

Re: Java webapps and configuration files

2010-08-20 Thread Russ Allbery
Torsten Werner writes: > On Fri, Aug 20, 2010 at 6:10 AM, Russ Allbery wrote: >> The JSP files for this application need to be conffiles so that users >> can change them and those changes are preserved during upgrades. > no I don't think that JSP files are good candidates for conffiles. > Web.x

Re: Java webapps and configuration files

2010-08-20 Thread Torsten Werner
Hi Russ, On Fri, Aug 20, 2010 at 6:10 AM, Russ Allbery wrote: > The JSP files for this application need to be conffiles so that users can > change them and those changes are preserved during upgrades. no I don't think that JSP files are good candidates for conffiles. Web.xml is okay but not code

Java webapps and configuration files

2010-08-19 Thread Russ Allbery
Hello all, Several of us (at least myself, Faidon Liambotis, and Sam Hartman) are looking at packaging the Shibboleth IdP, which is the identity provider component of a federated authentication system. I'm also going to be looking, in the next six months to a year, at how to build Debian packages