Re: Detecting Tomcat install

2004-12-02 Thread Robert Grant
Hi

Thanks for the response.
I am writing an installer, and would like to be able to cope with many
different versions of Tomcat, and at least be able to detect the version and
say it isn't compatible, rather than only being able to detect 5.0 and
greate version (especially since the program that the installer installs
will work on any version from Tomcat 4.0.6!)

Hope someone can help

Rob


Tim wrote:
Starting after 5.0.(I forget) - There is a command line program version.sh
(or version.bat).

All it does is echo the property server.info in
/org/apache/catalina/util/ServerInfo.properties

-Tim

Robert Grant wrote:
 Hi!

 I have to write an installer which detects the presence of Apache Tomcat
 (minimum version 4.0.6) and wondered what the best way of doing this was.

 I'm happy to check for the presence of Registry entries, but searching
the
 Net I'm unsure of where (on ANY Tomcat install, regardless of version) I
can
 find a version number; my impression is that the keys shift position
 depending on the version of the Tomcat install.

 Any help greatly appreciated!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Detecting Tomcat install

2004-11-15 Thread Robert Grant
Hi!

I have to write an installer which detects the presence of Apache Tomcat
(minimum version 4.0.6) and wondered what the best way of doing this was.

I'm happy to check for the presence of Registry entries, but searching the
Net I'm unsure of where (on ANY Tomcat install, regardless of version) I can
find a version number; my impression is that the keys shift position
depending on the version of the Tomcat install.

Any help greatly appreciated!

-rob-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Detecting Tomcat install

2004-11-15 Thread Tim Funk
Starting after 5.0.(I forget) - There is a command line program version.sh 
(or version.bat).

All it does is echo the property server.info in 
/org/apache/catalina/util/ServerInfo.properties

-Tim
Robert Grant wrote:
Hi!
I have to write an installer which detects the presence of Apache Tomcat
(minimum version 4.0.6) and wondered what the best way of doing this was.
I'm happy to check for the presence of Registry entries, but searching the
Net I'm unsure of where (on ANY Tomcat install, regardless of version) I can
find a version number; my impression is that the keys shift position
depending on the version of the Tomcat install.
Any help greatly appreciated!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]