On Wed, 11 May 2005 15:03:37 -0400
Henri Dupre <[EMAIL PROTECTED]> wrote:

> I was wondering what is the best place to put version information in a war 
> file?
> I'd like to put a build version and date at built time to my
> application and have a way to retrieve them from the servlets.
> 
> I'm used to add the META-INF Implementation-version tag with jar files
> but with Tomcat war files it doesn't work. Are there other
> "standard" places where to put version information?
> 
> Henri.
> 
Hi,

I use this mecanism and it works.
I put version information in the META-INF/MANIFEST.MF of the war,
then thanks to getServletContext().getResource("/META-INF/MANIFEST.MF"), you 
can get this file and parse it.

Regards.

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

Reply via email to