This content has been marked as final.
Show 3 replies
-
1. Re: dynamically add change xhtml pages
pgmjsd Apr 20, 2009 9:40 PM (in response to ajanz)That depends on how the app server handles hot-deployments. Here's what we do with JBoss on our developer workstations:
- Use an exploded WAR deployment.
- Make sure the deployment scanner is running.
- Copy the xhtml files from the source tree to the exploded directory in the JBoss server tree.
We have a little ANT target that does the last part.
-
2. Re: dynamically add change xhtml pages
dan.j.allen Apr 20, 2009 11:34 PM (in response to ajanz)Extrapolate from this entry in the FAQ.
-
3. Re: dynamically add change xhtml pages
eklmnoff Apr 21, 2009 4:10 AM (in response to ajanz)I am having same problem, but a little different:
- Simple 'Web Dynamic project' created in Eclipse works fine. Modified index.html gets replicated to C:\Java\jboss-5.1.0.Beta1\server\default\deploy\webProj.war\ (exploded war folder) and refreshing the page in browser displays the change. - Simple 'Seam Web Project' created in Eclipse won't work. Modified index.html is copied say to C:\Java\jboss-5.1.0.Beta1\server\default\deploy\seamProj.war\ as above, but JBoss server runs project from TMP\<...> folder, e.g. C:\Java\jboss-5.1.0.Beta1\server\default\tmp\<...5c4o2...>\seamProj.war\
Is there any way to force JBoss to use default/deploy folder or tell it to synchronize from it?