cancel
Showing results for 
Search instead for 
Did you mean: 

Run Activiti from sources

dchecke
Champ in-the-making
Champ in-the-making
Hi community, I try to run activiti from sources(github), and found here, that need to do
mvn clean install
.

I did it and get message:

[INFO] Activiti …………………………………… SUCCESS [0.723s]
[INFO] Activiti - BPMN Model ……………………….. SUCCESS [1.140s]
[INFO] Activiti - Process Validation ………………… SUCCESS [0.092s]
[INFO] Activiti - BPMN Layout ………………………. SUCCESS [0.082s]
[INFO] Activiti - Image Generator …………………… SUCCESS [0.069s]
[INFO] Activiti - BPMN Converter ……………………. SUCCESS [0.181s]
[INFO] Activiti - Engine …………………………… SUCCESS [1.468s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS


But how run application after that? use mvn exec? In this case what is the main class?
mvn exec:java -Dexec.mainClass="module.Main"


Please help - how to start application after mvn clean install?

Thanks a lot for help
11 REPLIES 11

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

use mvn clean install -Pdistrofollow a description in http://activiti.org/userguide/index.html#_getting_started
(find all necessary artifacts on your local disc)

Regards
Martin

Thank you for answer, but I used link, and can`t find any command like:
<code>
mvn clean install -Pdistro
</code>

I tired this command, but I had the same result…

I found in instruction, that need to use .sh? Is it right?
If I will use .sh - do I need <code>mvn clean install</code>?
Sorry for a lot of question, but I`m can`t understand how start app from sources…

fstnboy
Champ on-the-rise
Champ on-the-rise
You need to install Maven on your machine

https://maven.apache.org/install.html

dchecke
Champ in-the-making
Champ in-the-making
Hi, Maven installed and <code>mvn clean install</code> did perfect. What after that? How run it?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

In fact activiti-engine is just a non-executable library. If you want to see activiti running deploy explorer app to tomcat and see the basics what can be done with activiti.
http://activiti.org/userguide/index.html#demo.setup.one.minute.version

Regards
Martin

Actually I want to start Activiti from sources… I`ll planning to add new librares and methods in code and after that, I want compile and run Activiti with new librares and methods? How I can do that? I tried a lot of chanses, but nothing(
I don`t need activiti-engine or something else, just normal standart activiti Smiley Happy

Thanks you for help.

you can see this link: http://www.vineetmanohar.com/2009/11/3-ways-to-run-java-main-from-maven/
It`s help with maven, but not with Activiti. I tried to do, like you, but also can`t run it.

dchecke
Champ in-the-making
Champ in-the-making
Is it possible to run application from sources like we download .war from site? Somebody do that?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

build war file from sources. (mvn clean install -Pdistro).
find war file in the explorer module target directory.
copy war file to tomcat webapps directory
run tomcat

Regards
Martin