Bonita Studio 7 - not deleting process files

1
0
-1

I've imported the procurement example, then deleted it. When I tried to import it again I received various messages about already existing .java, bdm.zip, .def, .properties, .impl and even some GUID named files. How is it possible?

I am using the Studio 7.0.1 "no-install" version on Windows 8.1, JRE 1.8.0_31.

Regards.

Ricardo

2 answers

1
0
-1
This one is the BEST answer!

Obviously a bug in the clean up operation, I take you after deleting you closed the Studio and restarted it as a further test?

I would open a bug report here https://bonita.atlassian.net/secure/Dashboard.jspa

regards

Comments

Submitted by r torres on Fri, 07/24/2015 - 15:45

Positive, Sean,

I closed and restarted Studio. The problem remained.

Regards.

1
+1
-1

I think the behavior is actually normal. To understand it you need to get a little bit background information about Bonita Studio repository content.

If you check the content of BonitaBPMCommunity-7.0.1/workspace/default/ folder you will see that a Bonita Studio repository contains various artifacts. The most important are probably:

  • Diagrams: .proc files located in "diagrams" folder. .proc files store the diagram information (i.e. processes definitions).
  • Business Data Model: a single "bdm.zip" file located in "bdm" folder
  • Connectors definition and implementation: description files (.def and .impl), translation files (.properties) and Java source code (.java) for connectors developed in the Studio (connectors-def, connectors-impl and src-connectors)
  • Same as connectors but for filters
  • Java libraries: all the jar files added to the Studio classpath and available when compiling source code (e.g. Groovy scripts). Includes JDBC drivers provided by default with the Studio. Note that process configuration and connectors dependencies define whether or not a jar file will be embedded when building a process (i.e. generating the .bar file).
  • Organizations definition: one XML per organization define in the Studio (mostly for testing purpose). Default organization is named ACME.
  • UI designers forms, page and widgets: JSON and JavaScript files stored in "web_pages" and "web_widgets" folders. Files are named with UID such as 0096d371-549a-4210-a02c-2f915198a374.

When you deleted a diagram in the Studio you actually only delete the .proc file (and associated process configuration). Forms, BDM... are not deleted because they might be used by others diagrams/processes. If you want to actually delete them you need to go to UI designer, go in Studio menu (Edit connector to delete them)... depending on the type of artifact you want to delete.

Note that for BDM only a single BDM can be defined per repository and Studio doesn't offer user interface to merge two BDM. If you want to work with various BDM it is recommended to use separated repository (Subscription edition) or workspace (Community edition).

Notifications