|
|
#1 |
|
Junior Member
Join Date: Oct 2007
Posts: 6
|
Checking when Apache has deployed .war file
Hi,
Does anyone know or a way to check if a war file has been deployed by apache, we tend to drop the war file into the apache directory and it automatically deploys it. thanks Lee |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jun 2007
Location: Otrokovice, Czech Republic
Posts: 308
|
${If} ${FileExists}?
|
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Oct 2007
Posts: 6
|
That did occur to me but i was hoping there was a better way of finding out when it had finished, it takes on my machine about 45 minutes to deploy.
My problem is, The installer i am creating deploys the war file but then i need to alter xml files with information from the user. I may have to just use if fileexists... ![]() Lee Quote:
|
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Oct 2007
Posts: 1
|
Can you stop Tomcat (e.g. using a service management plugin for NSIS), then use an UnZip plugin to explode the warfile yourself, then make the modifications, then start Tomcat?
The above is what I do (But I have the luxury of being allowed to stop the Tomcat process or service) WAR files are just zip files, so any unzip utility can work with them. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Oct 2007
Posts: 6
|
Yes,
I could stop tomcat and unzip the file. Do you by anychance have the code you wrote to do this? Saves me doing it ![]() Thanks Lee |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|