I use an ant script for my seam application to explode or deploy the project.
The problem is that it also deploys some temp file: .pages.xml in my WEB-INF directory which
makes JBOSS server to cycle..
Do you know what can be the cause or how can I avoid this?
Thanks in advance.
Probably, you ant script is using a
<copy>target, with a fileset including**/*. This will copy every single file, including “hidden” files (the ones starting with a dot). To avoid, I’d suggest to include only the patterns you know you’ll need (whitelist), like,**/*xhtml,**/*classand so on. Or you can use a blacklist approach, which would be to include everything and add a “exclude” set with**/.*(which would then remove the hidden files).