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
Balaji,

with regards to question 2: at the moment you cannot take a BPMN XML file and load that into designer to recreate the diagram. We are planning to add a feature like this in one of the upcoming releases, which will use the BPMN DI (Diagram Interchange) standard to do this. In that case you will still need a BPMN XML that actually contains the DI elements, which describe the graphical information. We will most probably not support auto-layout out of the box.

question 1: I don't see the relation to the Activiti Designer; isn't this what you're looking for? http://activiti.org/userguide/index.html#bpmnExclusiveGateway

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

We tried to understand the functionality of the source code.
Unfortunately, We did something and badly stuck up with  error



Error
Tue Dec 21 09:23:42 GMT 2010
Error writing bundles, could not find the bundle location for bundle org.activiti.designer.eclipse


Please help us.

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

if that error is anything to go by, it looks like you either changed the id of the bundle in the plugin.xml file or you deleted the bundle's project entirely. What exactly did you change that led to this error?

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

We just opened the designer.eclipse projects - Metainf and plugin.xml.
Even I cant recollect the event that leads to that error Smiley Sad.

But we didnt make any change to the source.

balaji1
Champ in-the-making
Champ in-the-making
Hi,
Also , We cant find the id tag in the plugin.xml.
Can you please say exactly how its mentioned in the code?

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

if you open up the plugin.xml file with the PDE editor (the default), you should see what I see as shown in the attached screenshot. The ID of the plugin is the very first field.

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

XML that is created from the BPMN design is validated against any schema?

Was schema is really used to createdXML from BPMN diagram?

Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
- the diagram contents are validated against a custom bpmn validation that you can find in the bpmn20 project (this will be moved in the next version).
- if you use the built-in xml editor to edit the diagram, it is validated against the bpmn xml schema, which is in Eclipse's XML Schema Catalog (look in the preferences)
- if you are using a custom export marshaller, you will be able to link it to your own custom validator in the february release.

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

Actually we are just going to implement the same way in bpmn20export marshaller to create our own tags in XML.

For that XML creation do we need to care about schemas or just using xml writer function we will be creating it?

tiesebarrell
Champ in-the-making
Champ in-the-making
No, that output is not validated, so you don't need to adhere to any schema as far as the Designer is concerned. You don't even have to produce XML, it can be anything you like.