The idea of this patch is to allow exploded deployment
of web applications that do not contain "war" in the
end. The motivation for this patch was to remove the
limit of the web project's name to the form XXX.war
since it is not always possible to retain this name
For exampe some environments will create automatically
an archive xxx.war.war out of folder xxx.war/
To have the possibility to deploy a web application
basing only on the web descriptor <web> of
application.xml is very convenient for exploded
deployment of WARs that are parts of EARs.
The requested behavior was always supported by orion
and oracle EAS
This patch is for the version 4.0 build from 2004-09-20.
The change is in file
here I have extended the logic so that when the web
deployer tries to determine whether it can handle the
deployment or not it not only compares the ending of
the project's name with "web" or "web/" but also checks
if it's context path is not null. If so the project is
also treated as eligible to deployment by web container.