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

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

We ran the graphiti nightly build to remove the errors related to that package.
But still we could see more errors on source files such as GUI,Design etc.Errors are some hundreds in number

Do we need to perform any nightly build updates on eclipse core packages?
Please provide some inputs for us.

Thanks

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

can you provide some examples of the types of errors you're receiving? Did you install the Graphiti SDK in Eclipse via software updates?

balaji1
Champ in-the-making
Champ in-the-making
HI,
We are facing errors on following projects
1. eclipse

Description Resource Path Location Type
The method addHandlerListener(IHandlerListener) of type CopyActionHandler must override a superclass method CopyActionHandler.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/gui/actions line 13 Java Problem

2.export.bpmn.20
Description Resource Path Location Type
The method marshallDiagram(Diagram, IProgressMonitor) of type BPMN20ExportMarshaller must override a superclass method BPMN20ExportMarshaller.java /org.activiti.designer.export.bpmn20/src/main/java/org/activiti/designer/export/bpmn20/export line 92 Java Problem

Description Resource Path Location Type
The method init(IWorkbench) of type ActivitiSavePreferencesPage must override a superclass method ActivitiSavePreferencesPage.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/preferences line 86 Java Problem

3. export.image
4. designer.gui
5.designer.integration



Like this,We are facing lot of errors.

Please let me know your thoughts.

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

in the gui project, if you open up the MANIFEST.MF file, are there exceptions in it? That copy handler class relies on classes from certain Eclipse bundles. It would appear you have a problem with those dependencies. Which exact version of Eclipse are you using?

the second one seems to be a similar problem. Please check that the Eclipse build path is setup correctly and all dependencies can be found - that might save you headaches over these amounts of errors.

balaji1
Champ in-the-making
Champ in-the-making
Hi,
We have rectified the manifest file error after installing graphiti nightly builds.
We are using eclipse helios 3.6.Also, We have updated eclipse core to rectify few errors but it didnt work out.

For setting build path we gave "mvn elipse:eclipse" using maven 3. I hope it takes care of build path. Apart from these
do we need to perform any other setup?Also ,all the dependencies are referring to .m2 repository though we use maven 3.

balaji1
Champ in-the-making
Champ in-the-making
HI,
Can anyone please reply to the above question?

Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
No, that should do the trick. Can you provide details on the errors you have?

balaji1
Champ in-the-making
Champ in-the-making
Hi,
Below is the error list. There are 100 errors  in the source file.
Given are the few errors which are replicating in all the source files.
Description Resource Path Location Type
The import javax.xml.stream cannot be resolved BPMN20ExportMarshaller.java /org.activiti.designer.export.bpmn20/src/main/java/org/activiti/designer/export/bpmn20/export line 11 Java Problem
The import javax.xml.stream cannot be resolved BPMN20ExportMarshaller.java /org.activiti.designer.export.bpmn20/src/main/java/org/activiti/designer/export/bpmn20/export line 12 Java Problem
The import javax.xml.stream cannot be resolved BpmnXMLExport.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/xml line 8 Java Problem
The import javax.xml.stream cannot be resolved BpmnXMLExport.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/xml line 9 Java Problem
The import javax.xml.stream cannot be resolved TestRunnerClassGenerator.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/runner line 9 Java Problem
The import javax.xml.stream cannot be resolved TestRunnerClassGenerator.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/runner line 10 Java Problem
The method add(IAddContext) of type AddEventFeature must override a superclass method AddEventFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 32 Java Problem
The method add(IAddContext) of type AddExclusiveGatewayFeature must override a superclass method AddExclusiveGatewayFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 29 Java Problem
The method add(IAddContext) of type AddGatewayFeature must override a superclass method AddGatewayFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 28 Java Problem
The method add(IAddContext) of type AddSubProcessFeature must override a superclass method AddSubProcessFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 33 Java Problem
The method add(IAddContext) of type AddTaskFeature must override a superclass method AddTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 45 Java Problem
The method addHandlerListener(IHandlerListener) of type CopyActionHandler must override a superclass method CopyActionHandler.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/gui/actions line 13 Java Problem
The method addHandlerListener(IHandlerListener) of type PasteActionHandler must override a superclass method PasteActionHandler.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/gui/actions line 13 Java Problem
The method canAdd(IAddContext) of type AddEventFeature must override a superclass method AddEventFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 119 Java Problem
The method canAdd(IAddContext) of type AddExclusiveGatewayFeature must override a superclass method AddExclusiveGatewayFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 115 Java Problem
The method canAdd(IAddContext) of type AddGatewayFeature must override a superclass method AddGatewayFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 113 Java Problem
The method canAdd(IAddContext) of type AddSubProcessFeature must override a superclass method AddSubProcessFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 129 Java Problem
The method canAdd(IAddContext) of type AddTaskFeature must override a superclass method AddTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 283 Java Problem
The method canCreate(ICreateContext) of type CreateMailTaskFeature must override a superclass method CreateMailTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem
The method canCreate(ICreateContext) of type CreateManualTaskFeature must override a superclass method CreateManualTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem
The method canCreate(ICreateContext) of type CreateScriptTaskFeature must override a superclass method CreateScriptTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem
The method canCreate(ICreateContext) of type CreateServiceTaskFeature must override a superclass method CreateServiceTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 33 Java Problem
The method canCreate(ICreateContext) of type CreateSubProcessFeature must override a superclass method CreateSubProcessFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem
The method canCreate(ICreateContext) of type CreateUserTaskFeature must override a superclass method CreateUserTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem

Please help!!!!

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

the problem you're having is that your build path is Eclipse is still not correct. From the first couple of errors you can determine that the javax.xml.stream package from the JRE is not on the build path. That means the project either doesn't have the Java nature (it's not a Java project) or the JRE is not linked on the build path. Try re-running mvn eclipse:clean eclipse:eclipse on the project, then go back to Eclipse and right-click the project and choose refresh.

balaji1
Champ in-the-making
Champ in-the-making
Hi,
We have removed the XML package error.Actuallym JRE is pointed to 1.5, We changed to 1.6 which causes those
errors to get removed.

Now, We only face the below error

Description Resource Path Location Type
The method addHandlerListener(IHandlerListener) of type PasteActionHandler must override a superclass method PasteActionHandler.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/gui/actions line 13 Java Problem
The method canAdd(IAddContext) of type AddEventFeature must override a superclass method AddEventFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 119 Java Problem
The method canAdd(IAddContext) of type AddGatewayFeature must override a superclass method AddGatewayFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 113 Java Problem
The method canCreate(ICreateContext) of type CreateManualTaskFeature must override a superclass method CreateManualTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem
The method canCreate(ICreateContext) of type CreateScriptTaskFeature must override a superclass method CreateScriptTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem
The method canCreate(ICreateContext) of type CreateSubProcessFeature must override a superclass method CreateSubProcessFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 19 Java Problem
The method create(ICreateContext) of type CreateMailTaskFeature must override a superclass method CreateMailTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 24 Java Problem
The method create(ICreateContext) of type CreateScriptTaskFeature must override a superclass method CreateScriptTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 24 Java Problem
The method create(ICreateContext) of type CreateUserTaskFeature must override a superclass method CreateUserTaskFeature.java /org.activiti.designer.gui/src/main/java/org/activiti/designer/features line 24 Java Problem
The method createEditPart(EditPart, Object) of type PictogramsTreeEditPartFactory must override a superclass method PictogramsTreeEditPartFactory.java /org.activiti.designer.eclipse/src/main/java/org/activiti/designer/eclipse/outline/tree line 48 Java Problem
The method deconfigure() of type ActivitiProjectNature must override a superclass method ActivitiProjectNature.java /org.activiti.designer.eclipse/src/main/java/org/activiti/designer/eclipse/common line 19 Java Problem

Please help us.

THanks