xmlns:framework="http://jboss.com/products/seam/framework" xmlns:web="http://jboss.com/products/seam/web" xsi:schemaLocation="... http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd"> <web:hot-deploy-filter installed="false" disabled="true"/>
This does not work by the way.
Sorry for spelling earlier, I hit send as apposed to preview.
Just a FYI - this is also being discussed here http://community.jboss.org/message/576892#576892
Yes, that was my post. ... and answered (I hope).
Seems to be working again now.
Make change to .xhtml, save, refresh, instant change to page.
Will try with code to see if has same effect shortly.
<?xml version="1.0" encoding="UTF-8"?> <!-- JBoss Seam + JBossAS integration --> <deployment xmlns="urn:jboss:bean-deployer:2.0"> <!-- Seam deployer --> <bean name="SeamDeployer" class="org.jboss.seam.integration.microcontainer.deployers.SeamWebUrlIntegrationDeployer"/> <!-- Seam modification type matcher --> <!--<bean name="SeamMTMatcher" class="org.jboss.seam.integration.microcontainer.deployers.SeamTempModificationTypeMatcher"/>--> </deployment>
Can a Seamster give any indication what the side effects of commenting this out are.
Hopefully it was just added for Ant/Maven users to get thir stuff deploying in which case there should be none.
I dont know if this could help you but i've built an antscript that searches the temporary deploy folder and copies the webapp folder from my eclipse projekt into it. This works quite perfectly for me since i do not need to restart jboss all the time. I dont have the andscript here right now but i can provide it if you like.
I use eclipse helios, maven and jboss4.2.2
Thank you Martin but we moved away from the need for Ant or indeed any build system a few years ago and would not like to go back to those days unless we absolutely had to.
That is not problem of Seam but IDE problem.
One solution is:
You can configure server in ide in such a way that it will deploy files to jboss deploy folder.
Then write ant script that will copy xhtml files from eclipse to jboss. Add builder in eclipse to your project that will automatically invoke copy script after save. Make it run in background. There is 100% garantee that all changes will be applied on the server.
Thanks for reply Alex.
The above Solution (comment out some of JBoss config) seems to have done the trick as it removed the 5 second lag.
I would not be surprised if MyEclipse does something like you suggest under the join but it is abstracted away.