2 Replies Latest reply on Oct 15, 2009 6:31 AM by sebastian.s

    jBPM4 - .bar deployment to embedded jBPM

    nilspreusker

      Hi all,

      if I'm not mistaken, there is currently no deployment mechanism for .bar files for jBPM as an embedded framework (e.g. in a Spring application). In other words, to deploy both jPDL files and task forms, every resource has to be added separately like this:

      deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/process.jpdl.xml");
      deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/process.png");
      deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/verify_request.ftl");
      deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/request_vacation.ftl");
      


      Joram Barrez also mentions this in his blog:

      Do note that [...] you'll need to add all the forms to the deployment. We're looking into ways of simplifying this in a next release.


      I've checked the JIRA, but didn't find anything for the next two releases (4.2 and 4.3). So I'm wondering what the status of this is, maybe someone can point me to a JIRA case or a thread in the development forum that I might have missed... Cheers! Nils