This content has been marked as final.
Show 2 replies
-
1. Re: Deployment Handler Problems in seam 2.1.0.BETA1
courtneycouch Sep 9, 2008 9:22 AM (in response to courtneycouch)the statement
so its called twice for every resource.
was a bit imprecise.Its only called twice for resources in WEB-INF. WEB-INF seems to be scanned first and deployment handlers are called, then the war root is scanned and WEB-INF is recursed (even though it was already scanned).
It seems that WEB-INF should be ignored when scanning the war root?
-
2. Re: Deployment Handler Problems in seam 2.1.0.BETA1
courtneycouch Sep 9, 2008 7:07 PM (in response to courtneycouch)I changed:
org.jboss.seam.deployment.URLScanner 136: if ( child.isDirectory())
to:
org.jboss.seam.deployment.URLScanner 136: if ( child.isDirectory() && !newPath.equals("WEB-INF/classes"))
and there are no more deployment errors, and the WEB-INF/classes is not processed twice.
I'm still not sure if this is a bug, or I'm hacking away at seam to fix a stupid configuration error on my part.
-C