cancel
Showing results for 
Search instead for 
Did you mean: 

How to design activiti processes in my eclipse project

kazuya
Champ in-the-making
Champ in-the-making
Hi, Everyone knows that Eclipse activiti project can be used for designing activiti processes.
Now I want to design activiti processes in my eclipse project, for example, eclipse java project, eclipse zk web project, … .

I tried to create an activiti process in my package of my eclipse java project.
But it can not be created in my packege, it created in main.resources.diagrames.
And deployments can not be created.

Does anyone know how to resolve this problem?
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi,

You can create process diagrams in every package you want, you can choose the folder in the new diagram wizard.

Best regards,

krishna_y
Champ in-the-making
Champ in-the-making
Hi trademak,

You can create process in any of the package in your workspace. Below are the steps :

1. Select following things from eclipse p[lugin File –> New –> other –> XML file craetethis xml file in which directory you want. If it is already created drag and drop that xml file to the desination directory.
2. After saving your business process it will create diagram automatically. (If you don't change the default options)
3. If you want to deploy the selected root folder of your project and rigfht click on that, then you should be able to see "Create Deployment artifacts". (If you are not able to see this option then there is some problem with the activiti eclipse plugin. So verify ur installation again).
3. After click on the above option it will automatically create a .bar file in deployments directory.That you can find in your project structure.


Regards,
Krishna

kazuya
Champ in-the-making
Champ in-the-making
Hi,

You can create process diagrams in every package you want, you can choose the folder in the new diagram wizard.

Best regards,

According to your reply, I did as follows;
1.Select a package
2.Right click
3.Choose Activiti Diagram
4.Confirm folder name for the Activiti Diagram (the package is choosed)
But the Activiti Diagram was created in the main/resources/diagrams folder.

kazuya

kazuya
Champ in-the-making
Champ in-the-making
Hi trademak,

You can create process in any of the package in your workspace. Below are the steps :

1. Select following things from eclipse p[lugin File –> New –> other –> XML file craetethis xml file in which directory you want. If it is already created drag and drop that xml file to the desination directory.
2. After saving your business process it will create diagram automatically. (If you don't change the default options)
3. If you want to deploy the selected root folder of your project and rigfht click on that, then you should be able to see "Create Deployment artifacts". (If you are not able to see this option then there is some problem with the activiti eclipse plugin. So verify ur installation again).
3. After click on the above option it will automatically create a .bar file in deployments directory.That you can find in your project structure.


Regards,
Krishna

According to your reply, I created a XML file. Then I tried to open the XML file using Activiti Diagram Editor, but could not open.
So I could not create Activiti Diagram.

kazuya