-
1. Re: rapid jboss deployment and development
davecasserly Mar 7, 2009 6:18 PM (in response to davecasserly)actuallly, figured out part of my problem. I remember that JBoss will reload an expanded application if web.xml is updated.
So i added a ant task build plugin to maven to touch web.xml on every build. This makes my application reload in jboss! Nice.
I'm still interested in how other people work too though. -
2. Re: rapid jboss deployment and development
peterj Mar 7, 2009 10:55 PM (in response to davecasserly)Use the JBoss Tools plugin - it handles this for you. Essentially, I declare a JBoss AS server in Eclipse, then when I create a Dynamic Web Application project I specify that server. Then every build the app is automatically updated. The JBoss Tools documentation has a quick-start guide that provides the details and several tutorials.
-
3. Re: rapid jboss deployment and development
davecasserly Mar 8, 2009 7:09 AM (in response to davecasserly)I'll have a look at this thanks.
I tried adding a 'server' to eclipse server view. I selected JBoss > Jboss v5.0.
It complains that it has a missing claspath entry:D:\jboss_lnk\server\default\lib\mail.jar
However, for a start - i'm using the web profile (not default), and secondly on jboss v5.0 this library is in jboss-5.0.1.GA\common\lib ! -
4. Re: rapid jboss deployment and development
peterj Mar 8, 2009 11:00 PM (in response to davecasserly)Ah, finally you say which version of JBoss AS you are using. If you would have told me earlier that you were using 5.0 I could have told you the magic words to get this to work. See http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149696