Topic: build bar

Is there an api to build a bar file by self in Bointa(not use the BOS)?

Re: build bar

Hi,

To create a process and a BAR file programmatically, you'll have to use the ProcessBuilder and the BusinessArchiveFactory.

Mickael Istria
Studio developer, Eclipse fanboy
Vote for Bonita at Eclipse marketplace!

Re: build bar

If I use BusinessArchiveFactory.getBusinessArchive(ProcessDefinition process, java.lang.Class<?>... classes)  to build a bar file,  do I have to add a groovyscripts.jar and bonita-5.2.2.jar programmatically to the bar file? Or can I directly deploy the process that I have defined to database?

Re: build bar

Yes, you'll have to add them to the BAR if they are used by your process.

Mickael Istria
Studio developer, Eclipse fanboy
Vote for Bonita at Eclipse marketplace!