AnsweredAssumed Answered

'db.create' does not exist (Tutorial question)

Question asked by footix on Nov 3, 2011
Latest reply on Nov 4, 2011 by trademak
I'm trying to do Joram Barrez's Hello World tutorial (found here), but I'm running into an issue. After I install and start H2, I attempt to create the Activiti schema (ant db.create) but the build fails. Here's the output from my command prompt:
C:\activiti-5.8\setup>ant h2.install
Buildfile: C:\activiti-5.8\setup\build.xml

internal.db.install.h2:
     [echo] Installing H2 database in ../apps/h2
    [mkdir] Created dir: C:\activiti-5.8\apps\h2
     [copy] Copying 7 files to C:\activiti-5.8\apps\h2

internal.db.install.h2.unnecessary:

internal.db.install.unsupported:

h2.install:

BUILD SUCCESSFUL
Total time: 1 second

C:\activiti-5.8\setup>ant h2.start
Buildfile: C:\activiti-5.8\setup\build.xml

internal.cfg.create:
    [mkdir] Created dir: C:\activiti-5.8\setup\build\activiti-cfg
     [copy] Copying 1 file to C:\activiti-5.8\setup\build\activiti-cfg
      [zip] Building zip: C:\activiti-5.8\setup\build\activiti-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/m
ain/config
    [mkdir] Created dir: C:\activiti-5.8\workspace\activiti-engine-examples\src\
main\config
    [unzip] Expanding: C:\activiti-5.8\setup\build\activiti-cfg.jar into C:\acti
viti-5.8\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

internal.taskdef.launch:

h2.start:
     [echo] starting H2 database…
   [launch] launching cmd 'C:\activiti-5.8\apps\h2\h2.start.bat ' in dir 'C:\act
iviti-5.8\apps\h2'
   [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   TCP server running on tcp://192.168.0.198:9092 (others can connect
)
     [echo] H2 database started

BUILD SUCCESSFUL
Total time: 3 seconds

C:\activiti-5.8\setup>ant db.create
Buildfile: C:\activiti-5.8\setup\build.xml

BUILD FAILED
Target "db.create" does not exist in the project "activiti.setup".

Total time: 0 seconds

C:\activiti-5.8\setup>

I'm running Activiti 5.8 on Windows 7. Any idea what I might be doing wrong? (Other than running Windows 7, of course!) :)

Outcomes