-
1. Re: hot redeploy with *.page.xml ?
gavin.king Jun 3, 2007 2:38 PM (in response to hstang)When the hotDeployFilter is installed, the Pages component is refreshed on every request.
So the fine-grained files are *definitely* hot-deployable (you are mistaken about that). -
2. Re: hot redeploy with *.page.xml ?
hstang Jun 3, 2007 2:58 PM (in response to hstang)Ah okay. I was under the impression that if [core:init debug=true] is set, then you'll get hot deploy services OOTB with Seam, but I guess it's an expensive operation to scan through all *.page.xml in every request.
Thanks for the clarification. -
3. Re: hot redeploy with *.page.xml ?
gavin.king Jun 3, 2007 3:00 PM (in response to hstang)The hot deploy filter is installed whenever the debug=true. So your expectation is correct.
-
4. Re: hot redeploy with *.page.xml ?
hstang Jun 3, 2007 4:39 PM (in response to hstang)Sorry, I still could not get it work.
In my components.xml, I did in fact have debug=true so this means hotDeployFilter is installed--the startup logs actually confirm this. Do I need to do anything more to get those fine-grained page.xml to hot deploy properly? Or that's pretty much it? -
5. Re: hot redeploy with *.page.xml ?
gavin.king Jun 3, 2007 4:57 PM (in response to hstang)That is all that is required.
Put the seam src in your sourcepath and use your debugger. -
6. Re: hot redeploy with *.page.xml ?
hstang Jun 3, 2007 5:07 PM (in response to hstang)Solved.
I used seam-gen to see what's going on, and the answer came quickly.
I had to put those fine grained files in the same folder as those views that they defined but I had them in WEB-INF/classes! Don't know why I did that, but it didn't have any side-effects until now.