From e6d5a20dca7d383714e499411264750650c657c0 Mon Sep 17 00:00:00 2001 From: kkolinko Date: Sun, 14 Nov 2010 02:25:36 +0000 Subject: [PATCH] Move server.xml and tomcat-users.xml to the top of the installer archive (aka reserving them). Those were installed among the first files ('configure' was called from Core section), but this code is near the end of the script and thus the files were packed near the end of the archive. The delay while extracting server.xml was noticeable. With this fix that step completes nearly instantly. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1034926 13f79535-47bb-0310-9956-ffa450edef68 --- res/tomcat.nsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/res/tomcat.nsi b/res/tomcat.nsi index 00a01911d..77bb34307 100644 --- a/res/tomcat.nsi +++ b/res/tomcat.nsi @@ -773,10 +773,10 @@ Function configure ; that is automatically deleted when the installer exits. InitPluginsDir SetOutPath $PLUGINSDIR - File confinstall\server_1.xml - File confinstall\server_2.xml - File confinstall\tomcat-users_1.xml - File confinstall\tomcat-users_2.xml + ReserveFile confinstall\server_1.xml + ReserveFile confinstall\server_2.xml + ReserveFile confinstall\tomcat-users_1.xml + ReserveFile confinstall\tomcat-users_2.xml ; Build final server.xml Delete "$INSTDIR\conf\server.xml" -- 2.11.0