Re: context path version number with parallel deployment

2025-03-17 Thread Mark Thomas
On 17/03/2025 18:43, Усманов Азат Анварович wrote: thanks a lot! I got it working. A quick follow up What's step do I need to take to include this info in documentation ? I think it might be useful to others The list is in the Javadoc: https://tomcat.apache.org/tomcat-11.0-doc/api/org/apache

context path version number with parallel deployment

2025-03-17 Thread Усманов Азат Анварович
Hi everyone! is it possible to display current version number in a jsp page or servlet when using parallel deployment . using some property. Currently when building an app war we use git to calculate last revision number, store it in a file, use it to name a war accordingly.ex Education##1522

Re: context path version number with parallel deployment

2025-03-17 Thread Christopher Schultz
Азат, On 3/17/25 8:53 AM, Усманов Азат Анварович wrote: Hi everyone! is it possible to display current version number in a jsp page or servlet when using parallel deployment . using some property. Currently when building an app war we use git to calculate last revision number, store it in

Re: context path version number with parallel deployment

2025-03-17 Thread Michael Osipov
There is also https://tomcat.apache.org/tomcat-9.0-doc/config/listeners.html#Context_Naming_Info_Listener_-_org.apache.catalina.core.ContextNamingInfoListener which I have added years ago. Works perfeclty from servlets, Logback and Spring. On 2025/03/17 12:53:22 Усманов Азат Анварович wrote: >

RE: context path version number with parallel deployment

2025-03-17 Thread Усманов Азат Анварович
thanks a lot! I got it working. A quick follow up What's step do I need to take to include this info in documentation ? I think it might be useful to others От: Christopher Schultz Отправлено: 17 марта 2025 г. 17:40 Кому: users@tomcat.apache.org Тема: Re: contex