1 Reply Latest reply on Mar 9, 2010 7:59 AM by swiderski.maciej

    how to create bar file

    praneet

      hey everyone

         i want to deploy my process and rule file toghether,how to make bar file.

           am gone through user guide but unable to get it.

             i want to make it without using build.xml

        • 1. Re: how to create bar file
          swiderski.maciej

          If you do not want to use ant task for deployment you can use public API.

           

          repositoryService.createDeployment()
          .addResourceFromClasspath("process.jpdl.xml")

          .addResourceFromClasspath("rules.drl")

          .deploy();

           

          Probably you need to add more resources.

           

          Cheers,

          Maciej