Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42747
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 9 Nov 2008 01:45:26 +0000 (01:45 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 9 Nov 2008 01:45:26 +0000 (01:45 +0000)
commit7aeaf741c2c4d0407ca356fd52c096c95206da2b
tree4e9226f48c2429dd8b3bd355334b0bc6110d7050
parent6529634092d922de1acb4a2428ef2d940fe98bad
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42747
I've tested this with all the combinations I could think of and ensured that the order of the redploy resources is consistent. The summary of changes is:
- context.xml takes effect on first deploy rather than next restart
- context.xml from DIR is now copied to conf/<eng>/<host> in the same manner as context.xml from WAR
I also fixed a couple of edge cases I spotted and changed a few local variables to make the code easier to understand.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712464 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/startup/HostConfig.java