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
What's in the Eclipse log or console? There must be an exception somewhere

balaji1
Champ in-the-making
Champ in-the-making
Here  I am attaching my files.

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

if I install that lib and test it, the node works for me. See attached screenshot.

dev1
Champ in-the-making
Champ in-the-making
balaji,

As u wre asking throughout the day——>..I finally added the new palette…Smiley Happy

regards,
DEV

balaji1
Champ in-the-making
Champ in-the-making
Dev,

DEV,

THis is what I made my set up to palette project.

1. I created java project and did all the things as mentioned in the user guide
2. I added designer.inregration to my new project to remove the dependencies on service tasks.

Is that setup sufficient enuff?

dev1
Champ in-the-making
Champ in-the-making
Balaji,

please  follow the steps:-

1)There will a folder called .m2 in you documents and setting, inside that u will find org folder…it will be better if u delete it.(note:- this step is not mandatory)

2)Try downloading a fresh eclipse and install activiti in it through update site.

3)open a new java project

4)right click on this project, create two source folders with name src/main/java and src/main/resources.

5)Inside src/main/java create the class(let package be default) which we all have been talking since last 2 days…u will need *.designer.integration.* jar to remove the dependencies.

6)now right click on ur project and create a file with name pom.xml and fill it as mentioned in user guide.

8)take and pic,open it in paint and convert it into 16 by 16 file and save it somewhere as coins.jpeg.

9)now in you project right click on src/main/resources and create a new package with name icons.

10)drag ur coin.jpeg on this package.

11)save every thing u did…and go to command prompt…
12)from command prompt reach till your project which u have been creating in last 11 steps.
13)say "mvn clean" .
14)then mvn install.
15)If u carefully see the line executed my command prompt..some where in the end u will see money jar created somewhere deep inside ur .m2 folder.
16)now come to eclipse->windows->preferences->user lib…->  add a new user library called "Activiti Designer Extensions" and add the money jar in thtis user library.

17)now come out of it and open a new activiti project..make user user library is included in this new activiti project….and then open a new diagram…

18)wow u did balajiSmiley Happy

balaji1
Champ in-the-making
Champ in-the-making
DEV,
Do we need to download eclipse?
Because in the existing eclipse I have activiti source code in it. and I am launching new eclipse to view the output till now.(nt the palette output Smiley Happy ).

Thanks

dev1
Champ in-the-making
Champ in-the-making
u having source code in the eclipse is not going to make any difference in adding a new palette…just give it a try.. Smiley Wink

Regards,
DEV

balaji1
Champ in-the-making
Champ in-the-making
DEV,
Thanks, I too got it from your steps Smiley Happy

But ONe question I have is in the present eclipse which I dont have Activiti BPMN update installed and I have only source.
I did the same procedure why there I couldnt see the output?

THanks

dev1
Champ in-the-making
Champ in-the-making
HI,
great that u got the required output….

Even i don't know why it was not happening with the older eclipse..even i still have the same problem with the older eclipse..
Tiese will be able to tell us a bit about this detail…..

Regards,
DEV