cancel
Showing results for 
Search instead for 
Did you mean: 

How to create .bar file programmatically in activiti 5.9.

javatech
Champ in-the-making
Champ in-the-making
How to create .bar file programmatically in activiti 5.9.
not in eclipse plugins.

thxs in advance.
6 REPLIES 6

trademak
Star Contributor
Star Contributor
A BAR file is just a ZIP file containing the process definition file and optionally some other files.
So just create a ZIP file with these files and you're fine.

Best regards,

mahboob
Champ in-the-making
Champ in-the-making
Can the zip file also contain "Java Script Task" jar file if my process has a java script task?

trademak
Star Contributor
Star Contributor
It's possible to add it to the zip file, but it will be ignored. You need to add JARs to the classpath of the application server.

Best regards,

mahboob
Champ in-the-making
Champ in-the-making
Ok… so bar file should only contain the bpmn file?

jbarrez
Star Contributor
Star Contributor
Yes. Jar files need to go to the classpath.

mahboob
Champ in-the-making
Champ in-the-making
Thanks Joram for confirming