Author: jfrederic.clere(a)jboss.com
Date: 2009-03-05 04:00:12 -0500 (Thu, 05 Mar 2009)
New Revision: 2334
Modified:
trunk/mod_cluster/test/java/apachectl.bat
Log:
Wait before removing the file (otherwise they are not yet created!!!).
Modified: trunk/mod_cluster/test/java/apachectl.bat
===================================================================
--- trunk/mod_cluster/test/java/apachectl.bat 2009-03-04 17:24:01 UTC (rev 2333)
+++ trunk/mod_cluster/test/java/apachectl.bat 2009-03-05 09:00:12 UTC (rev 2334)
@@ -27,9 +27,12 @@
"@BASELOC(a)\httpd-2.2\bin\httpd.exe" -k install
REM install will test httpd but using the current user so remove the logs files.
+REM wait a little (2 ways)
+choice /c C /D C /t 30
+REM ping -n 31 localhost > NUL
+dir "@BASELOC(a)\httpd-2.2\logs"
del "@BASELOC(a)\httpd-2.2\logs\access_log"
del "@BASELOC(a)\httpd-2.2\logs\error_log"
-dir "@BASELOC(a)\httpd-2.2\logs"
"@BASELOC(a)\httpd-2.2\bin\httpd.exe" -k start
goto end