You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Christopher Cain <cc...@mhsoftware.com> on 2001/08/06 01:58:33 UTC

Command-Line Utility Attached - Feedback Requested

Attached is my generic utility which will allow for command-line interaction 
with the user during Tomcat startup. I've named it "Feliner" because I'm so 
witty. Even better, I've decided to name my proposed centralized "External 
Resource Security" module "LitterBox", since it will be where Tomcat does its 
private business. The inside joke, which probably only makes sense to my fellow 
cat owners, is that LitterBox will use the 'Liner. :-)

Any feedback on this utility is welcome. If you think it's an abomination and 
that I've lost my mind, *definitely* let me know ;-)

It's important to note that this is *not* an actual module/interceptor. It's a 
generic utility class which provides a safe API for accessing the command line. 
The idea is that specific modules/interceptors can call out to this utility to 
get user input, then do whatever specific processing they required.

There are three ways you can give me some feedback on this utility.

1) Open the hood and check the source. Let me know if you see any problems, 
anything which could be implemented better, etc.

2) The Javadocs are also included in the zip file. This class is *extrememly* 
well-documented, so by looking over the Javadocs you will get a complete 
picture of the design. If you don't have the inclination or time to look over 
the full source, you can glance over the general design and tell me what you 
think.

3) The main() method contains a pretty comprehensive test suite. Since I'm 
dealing directly with the OS, I would really like to have it tested on a wide 
variety of environments. If you have an environment which has not already been 
tested, it would be great if you could simply compile it, run it, and let me 
know if the test suite was a success or failure. The API doc for the main() 
method explains how to run the test suite.

I have personally tested it on both Windoze 98 and Redhat 7.1, both under the 
1.3 JDK. It should be JDK 1.1 compatible, but unfortunately I don't currently 
have a 1.1 installation to test it on. If you have any combination of OS/JDK 
that hasn't yet been tested, please give it a shot and let me know.

Regards,

Christopher