6 Replies Latest reply on Nov 9, 2012 3:52 AM by cybiks

    How to load multiple bpmn files as jbpm:resource in spring config?

    cybiks

      Is it possible to use something like:

       

      <jbpm:kbase id="kbase">
          <jbpm:resources>
              <jbpm:resource type="BPMN2" source="classpath:*.bpmn"/>
          </jbpm:resources>
      </jbpm:kbase>

       

      Looks like no :

      Caused by: java.io.FileNotFoundException: '*.bpmn' cannot be opened because it does not exist

      How can I dinamically load list of bpmn file and add them to jbpm:resources ?