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

dev1
Champ in-the-making
Champ in-the-making
Hi Tiese,

lets go step wise…

1)I created jar file with the name "money-tasks-1.0.0.jar".
2)In the eclipse under user prefrences we added this jar file.
3)I opened a new activiti project and addded a new java class for writing acmemoney class.
4)Then I added the jars of activiti to resolve the various dependencies.
5)Now open a activiti diagram……and here i can't see any changes in the palette ……

in which step I/(we are) going wrong ???

Regards,
DEV

balaji1
Champ in-the-making
Champ in-the-making
HI,
I want to be more clear on the below   line

If you extend Activiti Designer with this shape, The palette and corresponding node will look like this:

Actually in my Activiti designer library ,money jar is available. ALso I added designer.integration project to remove dependencies. But I cant view any changes.

Please help
THanks

balaji1
Champ in-the-making
Champ in-the-making
Tiese,
Please reply.

Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
Dev,

is the money-tasks-1.0.0.jar listed if you expand the item on the project where the diagram is? In other words, is it actually on the classpath of the diagram's project? If not, refresh the project and re-open the diagram.

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

there must be either something wrong with the jar or we have a bug somewhere. Please attach a zip file of your money-task project so I can have a look.

dev1
Champ in-the-making
Champ in-the-making
hi tiese,

i am attaching a zip file which has a copy of 2 projects…one is  with name "hj", by building this i got activiti-Examples-1.0-SNAPSHOT.jar.
I have used this jar in another activiti project called "final"(find in zip file) in the hope of seeing new pallete..but after using this new jar even the existing(default) pallets also vanished…

Regards,
dev

tiesebarrell
Champ in-the-making
Champ in-the-making
Dev,

the final project contains no classes in src/main/java, so that will never work.

the hj project has a bunch of stuff in the maven pom you shouldn't need. You don't need a dep to activiti engine, nor to the h2 database. The user library you've configured shouldn't be on THIS project, but on the actual project in Activiti Designer. Are you sure you understand the instructions in the userguide? These instructions mention none of these things. Your palette extension jar should be a super-simple Maven jar with a couple of annotated POJOs, nothing more.

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

Now here is my money jar. Please help.

Please check where I am going wrong.

balaji1
Champ in-the-making
Champ in-the-making
Tiese,
Please have a look at it.

THanks

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

you are referring to an icon for the node, but the icon is not in your project. If you look at the Eclipse log, it throws a NPE because of this. Add the icon and you should be fine.