-
1. Re: How to do "seam restart" from jbds seam project?
daxxy Jan 21, 2010 12:08 PM (in response to daxxy)There is something I'm really not getting here.
I just had to restart the JBoss server to get a change in a view to take place. ?
FTR I am using JBDS 3.X, with JBoss EAP 5.X and Seam 2.2.0EAP5.
I am randomly republishing, restarting, and the results seem inconsistent... can someone point me to documentation that explains how this works?
-
2. Re: How to do "seam restart" from jbds seam project?
maxandersen Jan 21, 2010 1:43 PM (in response to daxxy)1 of 1 people found this helpfulseam restart does the exact same thing as that little "touch" finger button in the toolbar does - it touches the web.xml descriptor of your current project and that will trigger JBoss to redeploy the application.
You should most definitly not have to restart your appserver to see changes to the view - changes get deployed automatically in the default setup (unless you disabled project build or automatic publishing).
Documentation for JBoss Tools which is the basis of JBDS is available from http://docs.jboss.org/tools/3.1.0.CR1/
For Seam stuff, http://docs.jboss.org/tools/3.1.0.CR1/en/GettingStartedGuide/html_single/index.html would be good start.
-
3. Re: How to do "seam restart" from jbds seam project?
daxxy Jan 21, 2010 2:36 PM (in response to maxandersen)I was going crazy with being unable to see my changes deployed. I was publishing and adding and removing, etc. and I thought it was the software or ... (gasp) me!
Finally I called support and after working on it for a bit with the tech, he drew my attention to the Problems tab and I had it fixed and project redeployed within 5 minutes.
So this problem stemmed from learning curve related to switching from command-line to GUI. Previously I have always used ant to control the project. Even when running it from eclipse, it felt the same degree of control when using the command line. Any compile/other problems would show up in the console.
Now that I am totally relying on the gui, it didn't occur to me to take note of the little pink X on my project folder or to bother to check the Problems view (which I had previously closed .) I feel that switching to a gui always involves letting go of some control that you previously had. I am a unix user/ex-sys admin and am still more comfortable on the command line. However, I'm open to the possibility that gui tools could make me more productive so I will stick with JBDS for the foreseeable future. Aside from these problems I have described here, I like it very much.
Thank you for your patience and feedback.
-
4. Re: How to do "seam restart" from jbds seam project?
maxandersen Jan 22, 2010 5:37 AM (in response to daxxy)Good you found it, and trust me I want the IDE to be as powerful/flexible as possible without ending up being cryptic
And yes, if you relied on manually parsing the console output then I guess its a bit of a learning curve to realize that the tool can actually do that for you for the common things and that ends up in the Problem view