Topic: build bar
Is there an api to build a bar file by self in Bointa(not use the BOS)?
Is there an api to build a bar file by self in Bointa(not use the BOS)?
Hi,
To create a process and a BAR file programmatically, you'll have to use the ProcessBuilder and the BusinessArchiveFactory.
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?
Yes, you'll have to add them to the BAR if they are used by your process.