cancel
Showing results for 
Search instead for 
Did you mean: 

How to run the activiti source code?

balaji1
Champ in-the-making
Champ in-the-making
Hi,

1. We have checked out the source code from SVN and installed in SVN.
Can you please tell us how to build this source code?

ALso what will be the outcome of this process?

2. We have proposed to use activiti plugin for our porject. We need to customise the palette shapes and XML tags. Can you please tell us the process to perform.


Please help us to resolve to above issues. We are badly stuck up here.
294 REPLIES 294

tiesebarrell
Champ in-the-making
Champ in-the-making
in your ExportMarshaller, you invoke saveResource() on the AbstractExportMarshaller. The filename you provide should be unique to your marshaller.

balaji1
Champ in-the-making
Champ in-the-making
Hi,

There are two XML generated.
What is the significance of these two XML files.

1. activiti.bpmn20.xml
2. bpmn20.xml

tiesebarrell
Champ in-the-making
Champ in-the-making
This is a bug, listed here http://jira.codehaus.org/browse/ACT-424. There are two code bases that do virtually the same, but there should be only one. This will be fixed in the January release of Activiti Designer.

balaji1
Champ in-the-making
Champ in-the-making
HI,

We tried to change the XML file name from the variable Filepattern in Marshaller source.
But its still taking activiti.bpmn20.xml file.

I am just trying to rename the XML file that is created. Am I doing it in right way?

tiesebarrell
Champ in-the-making
Champ in-the-making
the .activiti.bpmn20.xml file is only generated when you right-click the diagram and export from there. The filename you adjusted in the marshaller is only used during save (invoked automatically)

balaji1
Champ in-the-making
Champ in-the-making
HI,

Can you please elaborate on

The filename you adjusted in the marshaller is only used during save (invoked automatically)


Anyway once we right-click and export as XML it will be saved as /src/main/resources as activiti.bpmn20.xml rite?

tiesebarrell
Champ in-the-making
Champ in-the-making
yes, but your marshaller is not run if you do that. Your ExportMarshaller is run when you save the diagram, not when you right-click it. Unless you've implemented that yourself.

Right click -> Export to BPMN2.0 XML -> the BpmnXMLExport class is invoked, resulting in the .activiti.bpmn20.xml file. This is a bug http://jira.codehaus.org/browse/ACT-424
Save -> the Bpmn20ExportMarshaller class is invoked, resulting in the .bpmn20.xml file
Save -> your own marshaller is invoked, resulting in your own filename.
Right click -> Your own menu item -> Whatever you coded is performed.

balaji1
Champ in-the-making
Champ in-the-making
HI,

Here both the save  mentioned is from File ->Save from eclipse window?

THanks

tiesebarrell
Champ in-the-making
Champ in-the-making
In principle yes, but there's another bug that forces you to use ctrl+s at the moment. This has been fixed in subversion and will correct the error in the January release.

balaji1
Champ in-the-making
Champ in-the-making
Hi,

Is it possible to have two extension points for a pluggin and one extension plugin for both these points?
If yes, how?

THanks