[jboss-user] [JBoss Tools (users)] - Incremental Archive deployment without WTP in 2.1.0.GA
do-not-reply at jboss.com
Fri Jun 13 13:20:16 EDT 2008
We had recently decided to stop using JBoss Tools because of their dependence on WTP, which has been too buggy for us. This was unfortunate, because all our work is Seam based, and the seam tools are really nice.
Now that Jboss Tools 2.1 supports seam projects that aren't WTP-based, I'm trying to use it, and I'm wondering how to approach deployment with the Project Archives view and the AS server view.
I have 5 projects, three of which should be packaged as EJBs, one as a WAR, and the third is the EAR project. They are just plain java projects. The EAR project has:
And I have it export its libs/, and make the jar/war projects depend upon it, so that they can pick up their EAR lib dependencies. That works great, everything builds.
Now I want to build an exploded ear with exploded jar/wars under it, like:
In my ear project I set up an ear archive with the Project Archives view, and under it (in the same project) an archive for each of the above jars/war. They all build correctly, and I get the resulting ear directory in my build/dist directory as specified. In "Edit Publish Settings" I click choose my Jboss 4.2 server, check "Always publish to these servers", but if I check "Auto-deploy to selected servers after builds" then when I click "Finish" the dialog doesn't go away, but my .packages file (with all the information) suddenly has a zero size. At that point, if I quit Eclipse, when I restart the entire archive tree will be gone. If instead I choose "Edit Publish Settings" and make sure that box isn't checked and click "Finish," things are ok, but no incremental deployment.
In addition, if I give up on incremental deployment but click "Full Publish" I often get a Null Pointer Exception.
Are these known issues?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158041#4158041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158041
More information about the jboss-user