cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Modeller installation

tobiasw_
Champ in-the-making
Champ in-the-making
Hello,

I tried to follow those instructions in order to install the signavio modeller.

http://docs.codehaus.org/display/ACT/How+to+build+Activiti+Modeler+from+Signavio

I checked out the signavio trunk into c:\signavio.

Activiti is installed under c:\activiti-5.7

These are my build properties:


dir-tomcat-webapps = C:/activiti-5.7/apps/apache-tomcat-6.0.32/webapps

target = target

version=1.0.0

war = signaviocore

configuration = default

host = http://localhost:8080

fileSystemRootDirectory = C:/activiti-5.7/workspace/activiti-engine-examples


I found: C:\Signavio\target\signaviocore.war. I guess this is the desired war file.

However, now I do not really understand how to go on…

Where does the war file go? How would I open the modeler (http://localhost:8080/signaviocore/p/explorer)?

My installation output:
C:\Signavio>ant build-all-in-one-war
Buildfile: C:\Signavio\build.xml

clean:

configure-applications:

com.signavio.configuration.createVersionFile:
    [mkdir] Created dir: C:\Signavio\configuration\build

com.signavio.configuration.copy.editor:
     [copy] Copying 1 file to C:\Signavio\editor\src\scripts\Plugins
     [copy] Copying 1 file to C:\Signavio\editor\data\stencilsets
     [copy] Copying 1 file to C:\Signavio\editor\data\stencilsets\extensions
     [copy] Copying 1 file to C:\Signavio\editor\src\scripts\Plugins

com.signavio.configuration.copy.explorer:
     [copy] Copying 6 files to C:\Signavio\explorer\src

com.signavio.configuration.copy.platform:
     [copy] Copying 1 file to C:\Signavio\platform\WebContent\WEB-INF\xml\editor
     [copy] Copying 1 file to C:\Signavio\platform\WebContent\WEB-INF\json
     [copy] Copying 1 file to C:\Signavio\platform\WebContent\WEB-INF\json

com.signavio.configuration.copy:
     [echo]
     [echo]             Configuration: default
     [echo]

prepare-explorer-for-all-in-one-war:
     [copy] Copying 1 file to C:\Signavio\build\explorer

build-all-in-one-war:
    [mkdir] Created dir: C:\Signavio\target

com.signavio.editor.clean:

com.signavio.editor.copy.staticressources:
     [copy] Copying 1 file to C:\Signavio\editor\build\editor
     [copy] Copying 2 files to C:\Signavio\editor\build\editor\css
     [copy] Copying 122 files to C:\Signavio\editor\build\editor\images
     [copy] Copying 4 files to C:\Signavio\editor\build\editor\i18n

com.signavio.editor.js.concat:

com.signavio.editor.js.compress:
   [delete] Deleting: C:\Signavio\editor\build\editor\compressed222399932.js

com.signavio.editor.buildApps.compile:
    [mkdir] Created dir: C:\Signavio\editor\buildApps\bin
    [javac] C:\Signavio\editor\build.xml:34: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to C:\Signavio\editor\buildApps\bin

com.signavio.editor.build.stencilsets:
     [copy] Copying 324 files to C:\Signavio\editor\build\editor\stencilsets
     [java] Compressed stencil set file C:\Signavio\editor\build\editor\stencilsets\bpmn1.1\bpmn1.1.json
     [java] Compressed stencil set file C:\Signavio\editor\build\editor\stencilsets\bpmn2.0\bpmn2.0.json
     [java] Compressed stencil set file C:\Signavio\editor\build\editor\stencilsets\bpmn2.0\bpmn2.0conversation.json
     [java] Compressed stencil set file C:\Signavio\editor\build\editor\stencilsets\bpmn2.0chor\bpmn2.0chor.json
     [java] Compressed stencil set file C:\Signavio\editor\build\editor\stencilsets\jbpm4\jbpm4.json

com.signavio.editor.build:

com.signavio.platform.clean:

com.signavio.platform.compile:
    [mkdir] Created dir: C:\Signavio\platform\target\classes
    [javac] C:\Signavio\platform\build.xml:23: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 111 source files to C:\Signavio\platform\target\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: C:\Signavio\platform\src\com\signavio\warehouse\business\util\JsonErdfTransformation.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 2 files to C:\Signavio\platform\target\classes
      [war] Building war: C:\Signavio\target\signaviocore.war

BUILD SUCCESSFUL
Total time: 1 minute 17 seconds

I would be grateful for help.

Tobias
2 REPLIES 2

dhaasner
Champ in-the-making
Champ in-the-making
Hello Tobias,

the war file must be put to the webapps folder of a Tomcat server. As the modeller doesn't require the activiti engine at all, any Tomcat >6 can be used, I guess.
Nevertheless you can use the Tomcat shipped with Activiti 5.7, too. You should find it under C:\Activit-5.7\apps\apache-tomcat-6.0.32 in your installation.

Running the Activiti-Demo (C:\Activiti-5.7\setup\ant demo.start) will start the Tomcat server. As soon as you copy the signaviocore.war into the webapps-folder, the modeller will be deployed and will have the default URL (http://localhost:8080/signaviocore/p/explorer).

In build.properties of the Signavio Core Components project you can specify the path to your Tomcat:
dir-tomcat-webapps = C:\activiti-5.7\apps\apache-tomcat-6.0.32\webapps
Having done that, it is easier to call the following ant target in the correlating build.xml:
build-and-deploy-all-in-one-war-to-tomcat
In the same build.properties the path to a repository for the modeller is defined:
fileSystemRootDirectory = <your repo directory>When deploying the modeler, this directory must exist already. Otherwise you'll get an error during the deployment.

I hope it helps as I have already gone through it  Smiley Wink .

David

tobiasw_
Champ in-the-making
Champ in-the-making
Sweet, thanks David.

I just did

ant build-all-in-one-war
instead of
build-and-deploy-all-in-one-war-to-tomcat.

Now it works.

Cheers,
Tobi