3 Replies Latest reply on Jul 15, 2009 3:46 PM by Miroslav Vasko

    How To Force JBoss Tool To Publish Unexploded EAR?

    Guy Cole Newbie

      Subject says it all.


      I am using eclipse galileo w/JBoss tools on Ubuntu w/JBoss4.2


      It looks like I am deploying to JBoss via an exploded EAR in my eclipse workspace.


      I would like something to package the EAR so I can share it w/another team. 


      Is there a mechanism to switch from exploded to unexploded?


      Thank you.

        • 1. Re: How To Force JBoss Tool To Publish Unexploded EAR?
          Arbi Sookazian Master

          1) ask JBoss Tools specific questions on the JBoss tools forum (Max Andersen is the project lead)


          2) why don't you use ant build.xml from seam-gen?  run 'ant explode' or 'ant deploy' (packaged EAR or WAR)...

          • 2. Re: How To Force JBoss Tool To Publish Unexploded EAR?
            Guy Cole Newbie

            Thanks, I did look at the JBoss forums and I got a clue.


            For anybody else who was wondering...


            From eclipse, click on the server tab.
            Right click on your runtime server and select open from the popup.


            The deployment option is on the left side, I wanted use the jboss deploy folder and check deploy projects as compressed archives


            It might help to exit eclipse and then restart it.  There is a lot of magic w/these tools.


            John, thanks for the quick answer.  The reason I don't use seam-gen is because I have wasted a ton of time trying to get eclipse and seam-gen to play nice.  (Not trying to be provocative, I truly appreciate all the work and of course the price.)  I am too close to QA cutover for the distraction, but perhaps I can take it up again later.

            • 3. Re: How To Force JBoss Tool To Publish Unexploded EAR?
              Miroslav Vasko Newbie

              The deployment option is on the left side, I wanted "use the jboss deploy folder" and check "deploy projects as compressed archives"


              I don't see the option "deploy project as compressed archives" there. But if you only need to manually share a version from time to time, it's also possible (I do this) to use File > Export > EAR file.