I have 2 Bonita installations. One (1) has only one process in it, the other one (2) has 16. When I compile these processes, the (1) file size is around 5MB, the (2) is around 20MB.
It doesn’t matter the size of the diagram for (2), the size is always huge. When I see the files on each .bar, the (2) has a huge file called providedscripts.jar, which inside has 7300+ .class files.
How can I reduce the file size of the compiled .bar? Why is it that the (1) is a lot smaller than (2) for same-sized processes?
Thanks in advance!
The size of the file is directly associated with the number of steps you have in each process. There is no way to reduce the file size of the compiled .bar without reducing the number of processes.
Have you included all JARs in the build (export) by mistake? providedscripts.jar on my machine is only 24KB, even if it where included 16 time it wouldn’t make it that big. Have you tried breaking the diagram down to smaller diagrams, say 8 each (2), 4 each(4) etc. maybe you will see a pattern of why this is happening.
Hi Sean McP, thanks but what do you mean with the export? I compile by going to Server → Compile… on the menu. Then I don’t have any option about included jars.
![Compile menu][Compile menu]
[Compile menu]: http://robotenlanube.com/test/compile.PNG
Am I missing something? Thanks!
Can you provide what kind of classname do you find in the providedscript.jar please.
It looks like a bug to me as this jar should only contains a few provided library.
Thanks
What do you mean? Reduce the number of processes or did you meant tasks?