cancel
Showing results for 
Search instead for 
Did you mean: 

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

footix
Champ in-the-making
Champ in-the-making
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.installBuildfile: C:\activiti-5.8\setup\build.xmlinternal.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\h2internal.db.install.h2.unnecessary:internal.db.install.unsupported:h2.install:BUILD SUCCESSFULTotal time: 1 secondC:\activiti-5.8\setup>ant h2.startBuildfile: C:\activiti-5.8\setup\build.xmlinternal.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/main/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:\activiti-5.8\workspace\activiti-engine-examples\src\main\configinternal.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:\activiti-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 startedBUILD SUCCESSFULTotal time: 3 secondsC:\activiti-5.8\setup>ant db.createBuildfile: C:\activiti-5.8\setup\build.xmlBUILD FAILEDTarget "db.create" does not exist in the project "activiti.setup".Total time: 0 secondsC:\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!) Smiley Happy
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

You can lookup the available Ant targets in the build.xml.
This Ant target has been changed to "internal.db.create"

Best regards,