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
Well, I use a different Eclipse (without Activiti Designer installed in it) to develop palette shaped that to test them. Whether you launch from that Eclipse or install a separate one, or, as you both have done now, install Activiti Designer in your development Eclipse, should all really make no difference. The problem you guys are having with differences between Eclipse installations probably have to do with either the Maven setup or the dependencies with projects you have opened for customizing Activiti Designer projects. Hard to tell from here. If you have a stacktrace or something, it may be easier to tell why one works and the other doesn't.

balaji1
Champ in-the-making
Champ in-the-making
Tiese,
Well Now I am able to view the new node from the older eclipse itself Smiley Happy .

Actually I have added below snippet to add one more menu and export to my own format. But though I click new menu  control goes to BPMN export marshaller rather Acme marshaller.

    ContextMenuEntry subMenuExport = new ContextMenuEntry(new SaveBpmnModelFeature(getFeatureProvider()), context);
    subMenuExport.setText("Export to BPMN 2.0 XML"); //$NON-NLS-1$
    subMenuExport.setSubmenu(false);
   
     ContextMenuEntry subMenuExport1 = new ContextMenuEntry(new SaveAcmeModelFeature(getFeatureProvider()), context);
    subMenuExport1.setText("Export to My XML"); //$NON-NLS-1$
    subMenuExport1.setSubmenu(false);


THanks

tiesebarrell
Champ in-the-making
Champ in-the-making
What's in the SaveAcmeModelFeature?

balaji1
Champ in-the-making
Champ in-the-making
Tiese,

final ExportMarshallerRunnable runnable = new ExportMarshallerRunnable(getDiagram(),"MyMarshallname");

Rite?

tiesebarrell
Champ in-the-making
Champ in-the-making
Debug the run() method of the ExportMarshallerRunnable class to figure out which ExportMarshaller it resolves based on that name ("MyMarshallname")

balaji1
Champ in-the-making
Champ in-the-making
Tiese,

    public void run() throws Exception {
        exportMarshaller.marshallDiagram(diagram, monitor);
      }
BPMN Marshaller.

tiesebarrell
Champ in-the-making
Champ in-the-making
You can see from the code in the constructor of ExportMarshallerRunnable that it performs a lookup to set its ExportMarshaller. Check what the runtime instance of that is. If it's not your marshaller, you didn't register it correctly.

balaji1
Champ in-the-making
Champ in-the-making
Tiese,
Please reply back the below questions with full details  when u r free.

1. Can you please tell what changes exactly needs to be done?
   Its not showing my marshaller name.

2. I want to make few changes to manual tasks,probably to rename/add a new property to it.
Please list down the sequence of steps.

THanks

balaji1
Champ in-the-making
Champ in-the-making
Tiese,

Could you please respond back to above questions.

tHanks

tiesebarrell
Champ in-the-making
Champ in-the-making
Balaji,

1) You're not being very specific. What have you tried, what results did you expect and which results/errors did you get?

2) I've already answered that question; please look at earlier responses for the steps.