cancel
Showing results for 
Search instead for 
Did you mean: 

Installation

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

I just tried to setup activiti and would be grateful for some help. I installed the jdk and I think ant is installed successfully.

These are my environment variables
Echo %JAVA_HOME%
JAVA_HOME=c:\Program Files\Java\ jdk1.6.0_26
Echo %ANT_HOME%
C:\ANT
echo %path%
C:\ANT\bin;C:\Program Files\Java\jdk1.6.0_26\bin
Ant -version
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

However, when I try to start this:
c:\Program Files\activiti\activiti-5.6\setup\ant demo.start


I receive the error:
Build failed
build.xml:282: could not find executable for script
c:\Program Files\activiti\activiti-5.6\apps\h2\h2.start

Any suggestions? Did I miss out any steps?

Best regards and thank you in advance,

Tobias
3 REPLIES 3

tobiasw_
Champ in-the-making
Champ in-the-making
A little update. I installed everything from scratch again since I thought it is the jdk environment variables.
However, these seem to be ok.

According to the demo setup tutorial, the h2 should be located in ${activiti.home}/apps/h2, if I did not change the default settings (which I did not).
http://activiti.org/userguide/index.html#demo.setup
#
#
(*) Install the H2 in ${activiti.home}/apps/h2. This only happens if you're using h2 as your database. H2 is the default database.
#
Start the H2 database. Again, this is only done if using h2 as the database. If you're using a different database it is assumed that it is already up and running.

I had a look into the aps folder and the only folder I can find in there is apache-tomcat-6.0.32.

This is the complete command line output:

C:\Program Files\activiti-5.6\activiti-5.6\setup>ant demo.start
Buildfile: C:\Program Files\activiti-5.6\activiti-5.6\setup\build.xml

demo.install:

cfg.create:
     [copy] Copying 1 file to C:\Program Files\activiti-5.6\activiti-5.6\setup\build\activiti-cfg
      [zip] Building zip: C:\Program Files\activiti-5.6\activiti-5.6\setup\build\activiti-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config
    [unzip] Expanding: C:\Program Files\activiti-5.6\activiti-5.6\setup\build\activiti-cfg.jar into C:\Program Files\activiti-5.6\activiti-5.6\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

internal.taskdef.launch:

h2.start:

BUILD FAILED
C:\Program Files\activiti-5.6\activiti-5.6\setup\build.xml:282: couldn't find executable for script C:\Program Files\activiti-5.6\activiti-5.6\apps\h2\h2.start

Total time: 1 second
C:\Program Files\activiti-5.6\activiti-5.6\setup>

Do I have to copy h2 manually from somewhere?

Best regards,
Tobi

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
What you should at least do is run everything from a location that has no folders in the path with spaces in it. If that does not work, please get back to us.

frederikherema1
Star Contributor
Star Contributor
Also try cd'ing to the folder first and than running "ant demo.start" instead of "c:\Program Files\activiti\activiti-5.6\setup\ant demo.start"
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.