2 Replies Latest reply on Aug 26, 2012 6:08 AM by Christian Witschel

    build/modify jbpm-console and deploy it on server, how to do the compiling in eclipse?

    Thomas Setiabudi Expert

      Hi,

       

      I tried to follow the instruction on how to build/modify jbpm-console here:

      https://community.jboss.org/wiki/HowToBuildmodifyJbpm-consoleAndDeployItOnServer#comment-10520

       

      I have a question, how to do the compiling in eclipse as stated in step 11) ?

       

      any help will be appreciated.

       

      Regards,

      Thomas Setiabudi

        • 1. Re: build/modify jbpm-console and deploy it on server, how to do the compiling in eclipse?
          Maciej Swiderski Master

          Don't know exactly what author of that article had in mind but you can build it with maven as that will create war files for you with all dependencies packaged.

           

          HTH

          • 2. Re: build/modify jbpm-console and deploy it on server, how to do the compiling in eclipse?
            Christian Witschel Newbie

            Thomas,

             

            First make sure the project in eclipse is a maven project and not just a simple java one.

            Second of course your eclipse must contain the maven feature.

             

            If that all is the case, then right click on your project and select run as -> maven build.

            The first time you do this eclipse will ask you for a configuration.

            Just enter "package" in the field goals and proceed.

             

            Package tells maven to compile and create an appropriate distribution package in the target dir. In your case the jbpm-console*.war file.

            This file then needs to be copied into your Jboss7 deployments folder (replacing the current one). Last create a file jbpm-console*.war.dodeploy to tell jboss the deploy the war file.

             

            I hope you succed. If you succeed, please mark the question as answered. If not just keep asking and describe where u got stuck.

             

            Ps: when the maven build runs it probably will tey to download a lot of dependencies. Which are jar files, etc. that the project relies on. So make sure eclipse is able to access the internet. This might be tricky behind a sofisticated corporate firewall.

             

            Cheers christian