You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2023/03/14 18:18:31 UTC
[Bug 66527] Embedded Tomcat addWebApp docBase usage is inconsistent with JavaDoc
https://bz.apache.org/bugzilla/show_bug.cgi?id=66527
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Looking at the history of that file, the docBase was always meant to be
absolute. Saying it could be relative is a Javadoc bug added (by me) as part of
the fix for bug 57723. I'll get the Javadoc corrected.
I did look at the possibility of supporting a relative path but that begs the
question "Relative to what?". CATALINA_BASE isn't an option as that is
(usually) created dynamically when using the Tomcat class. Using current
directory is too fragile for my liking.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org