Add a warning so that if the a WAR path cannot be set in Tomcat due to a context.xml file.
See below for explanations.
This does work on a small demo projected created, built, and deployed, however, I have a much larger project that WILL NOT deploys as the name specified. I can't even tell where the name is coming from that is being used. Here are the relevant sections of my build.gradle file that use Cargo: