You should be able to use cargo for this, unfortunately it doesn't support JBoss 4.2
yet. So yes, some embedded ant script is probably best.
Not sure about the -ds.xml file (I'm sure maven can do this though). Maybe ask on the
maven users list.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113903#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...