cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Activiti

swa1
Champ in-the-making
Champ in-the-making
Hi,
is there a way to update my Activti 5.1 installation to Activiti 5.2?

Thanks
Steffen
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
Hi,

There is a configuration on your engine which allows you to perform the upgrade

<beans … >

  <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
    <!– … –>
    <property name="databaseSchemaUpdate" value="true" />   
    <!– … –>
  </bean>

</beans>

Described in detail in this section in the userguide: http://activiti.org/userguide/index.html#databaseUpgrade

jcosano
Champ in-the-making
Champ in-the-making
For update from 5.0 to 5.1 I added this target to build..

  <target name="demo.update"
          description="Installs tomcat and update database, deploys webapps"
          unless="demo.is.installed">
    <echo message="Updating demo" />
    <antcall target="build.webapps" />
    <antcall target="tomcat.install" />
    <antcall target="deploy.activiti.cfg.into.tomcat" />
    <antcall target="deploy.activiti.webapps.into.tomcat" />
  </target>

tombaeyens
Champ in-the-making
Champ in-the-making
instead of updating the demo setup, it might be easier to create the new demo setup from scratch.  (it's intended as a demo setup afterall)

swa1
Champ in-the-making
Champ in-the-making
Thank you. I will test that the next few days.