cancel
Showing results for 
Search instead for 
Did you mean: 

create business archive from command line

nathan1
Champ in-the-making
Champ in-the-making
Hi

I'm using the Activiti Designer in Eclipse to create business archives. Now, I want to create the business archive in the automatic build environment (nightly builds…) using an ant target.
Is there a command line utility to create the bpmn20.xml and png files from a .activiti file? I'd like to keep only the .activiti file under version control.

If not. Could you point me to the part of the code where the "Create deployment artefacts" feature is implemented?

Best,
Nathan
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

Creating a BAR file is just the same as creating a JAR and you want to include the bpmn20.xml and the png files of the process in there.
In the Activiti installation Ant script you can find an example.

Best regards,

nathan1
Champ in-the-making
Champ in-the-making
Creating a BAR file is just the same as creating a JAR and you want to include the bpmn20.xml and the png files of the process in there.
In the Activiti installation Ant script you can find an example.

Yes this I knew. The question is how to create the bpmn20.xml and png files from the .activiti file.

Best,
Nathan

trademak
Star Contributor
Star Contributor
Hi,

I don't think it's a good idea to look at that generation step.
In the new version of the Designer, which will be released in a couple of weeks, we only have 1 model file left.
So there'll not be a .activiti file anymore, but only a XML file containing the BPMN 2.0 elements and DI info.

Best regards,