1 Reply Latest reply on Oct 12, 2009 1:19 PM by jbarrez

    Automated upgrade procedure

    aguizar

      Related issue: JBPM-2509
      Ant target upgrade.jbpm.schema will:
      * create the appropriate hibernate.cfg.xml file based on a property called "database"
      * invoke the upgrade tool

      The tool in turn will:
      * run the update script that corresponds to the target database
      * initialize the nextid property from the id generator
      * add langid property to every deployed process

      Future releases may need to add further steps, or end users may want to add extra steps. I'd prefer the steps listed under "tool" were scripted - possibly right there in install/build.xml. In this case each step would be a separate Ant task (upgrade-db, initialize-next-id, add-lang-id). Doing so has the side benefit of preventing the tool from becoming a monolithic, non-cohesive class as new steps are introduced.

        • 1. Re: Automated upgrade procedure
          jbarrez

          Hi Alex, perhaps I'm already too late in the discussion.

          I'm still having doubts if the install/build.xml is the right place to put it. All the targets in that file relate to installing jboss, tomcat, signavio, ...?

          What does the langid mean?