AnsweredAssumed Answered

Cycle cleanup not complete

Question asked by erny18031 on Feb 28, 2012
Latest reply on Feb 28, 2012 by bernd.ruecker
Hi.

I just tried out trunk, and I get the following errores when doing "ant demo.install" (after a successful ant distro):


internal.db.create:
     [echo] creating db
….
     [java] GRAVE: Error while closing command context
     [java] org.activiti.engine.ActivitiException: resource 'org/activiti/db/create/activiti.h2.create.cycle.sql' is not available
     [java]    at org.activiti.engine.impl.db.DbSqlSession.executeSchemaResource(DbSqlSession.java:778)
     [java]    at org.activiti.engine.impl.db.DbSqlSession.executeMandatorySchemaResource(DbSqlSession.java:634)


and in effect, it's not present anymore. I did a git log on my activiti fork at github (master branch mirrors exactly svn trunk), and bernd.ruecker removed the cycle db scripts yesterday, 2012-02-27, but did not touch the database tables creation logic, neither removed the demo data for cycle in h2.data.sql (I also get an error here).

See:
  • distro/src/setup/files/cfg.activiti/standalone/activiti.cfg.xml  (property dbCycle)

  • modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java (cycle stuff)

  • distro/src/setup/files/demo/h2.data.sql
So trunk is effectively broken. I'll try with recent 5.9 tag.

Best regards.
Erny

Outcomes