Mantis - Resin
Viewing Issue Advanced Details
5193 minor always 08-27-12 14:27 08-28-12 16:27
alex  
alex  
normal  
closed 4.0.30  
fixed  
none    
none 4.0.31  
0005193: web-app-deploy@expand-preserve-fileset
rep by William Au

expand-preserve-fileset="WEB-INF/work/**"

causes no files under WEB-INF/lib/ be deleted

I am running Resin Pro 4.0.28. I have discovered that when I deploy a new .war file for my webapp, the webapp directory is not being clean up. Here is my situation. I have already deployed and run version 1 of my webapp by deploying version 1 of the war file into the webapps directory. I then updated my webapp by upgrading some jar files in the WEB-INF/lib directory. The new version of the jar files have different names:

old version:
WEB-INF/lib/apache-solr-core-3.3.0.jar
WEB-INF/lib/apache-solr-solrj-3.3.0.jar

new version:
WEB-INF/lib/apache-solr-core-3.4.0.jar
WEB-INF/lib/apache-solr-solrj-3.4.0.jar

I created a new war file and deployed that to Resin's webapp directory. When I restart resin, the original webapp directory did not get clean up so I ended up with both versions of the jar files in my WEB-INF/lib directory.

I thought cleaning up the webapp directory during war deployment is the default behavior???
Is there any way I can get Resin to clean up during war deployment?



Notes
(0006023)
alex   
08-28-12 16:27   
server/1hc1