I had the same problem, but I think that now I have it under control.
Are you using eclipse or the command line or?
When I use the command line, I think I did “clear the seam” or “remove the seam” or maybe even “restart the seam” and then “blow the seam”. I probably tried all this at one time or another, never bothering myself with the search for what everyone does.
The idea is to remove the deployed war file from two places
1. $JBOSS_HOME/server/default/deploy 2. $PROJECT_HOME/exploded_archives
I am sure that “seam undeploy” removes the 1st and “clean seam” removes the 2nd.
When I use eclipse (I use free), I first turn off "Project / Build Automatically" Then, when I am ready to deploy, I do Project / Build Project or Project / Build All depending on what I changed. When I change xhtml, the Build Project is enough. When I change the Java Build source, everything works. They may be doing the same thing, and the difference is in my imagination, but some combination of this material will work for you.
You must keep track of the exit. Sometimes the application does not clean up or deploy. This will cause you to not see the changes. Sometimes I close the server first and then restore / clean / deploy the project.
Hope this helps.
Tdr
april26 Jun 10 '09 at 18:43 2009-06-10 18:43
source share