06-05-2011 11:58 AM
06-06-2011 04:47 AM
06-13-2011 04:33 AM
06-13-2011 05:07 AM
06-13-2011 07:42 AM
…just use the new version and point it to the 5.4 database. the first time it strarts, it will update the schema and your activiti will be updated..Due to the user guide - in "activiti-5.6\setup\files\cfg.activiti\standalone\activiti.cfg.xml" is written by default:
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<!– Database configurations –>
<property name="databaseSchemaUpdate" value="true" />
<property name="jdbcUrl" value="@jdbc.url@" />
<property name="jdbcDriver" value="@jdbc.driver@" />
<property name="jdbcUsername" value="@jdbc.username@" />
<property name="jdbcPassword" value="@jdbc.password@" />
<property name="jobExecutorActivate" value="true" />
<property name="dbCycleUsed" value="true" />
</bean>It means, that the property is set to true so it should update the H2 database. In "activiti-5.6\setup\build.xml" are some entries in reference to H2 databse settings but nothing where I can point to the old Activiti 5.4 H2 database. <target name="demo.start"
description="Starts the demo setup and installs things if necessary"
depends="demo.install,
h2.start,
tomcat.start,
explorer.browser.open" />
<available property="demo.is.installed" file="${activiti.home}/apps"/>
<target name="demo.install"
description="Installs tomcat and h2 database, deploys webapps, creates the db schema and deploys example processes"
unless="demo.is.installed">
<echo message="installing demo" />
<antcall target="build.webapps" />
<antcall target="h2.install" />
<antcall target="h2.start" />
<antcall target="db.create" />
<antcall target="db.demo.data" />
<antcall target="h2.stop" />
<antcall target="tomcat.install" />
<antcall target="deploy.activiti.cfg.into.tomcat" />
<antcall target="deploy.activiti.webapps.into.tomcat" />
</target> <condition property="h2.not.installed">
<and>
<equals arg1="${db.is.h2}" arg2="true" />
<not><available file="${activiti.home}/apps/h2"/></not>
</and>
</condition>
<condition property="db.install.supported">
<equals arg1="${db}" arg2="h2" />
</condition>
<target name="h2.install"
description="Installs the H2 db in the ${activiti.home}/apps/h2 directory"
depends="internal.db.install.h2, internal.db.install.h2.unnecessary, internal.db.install.unsupported" />
<target name="internal.db.install.h2"
if="h2.not.installed">
<echo message="Installing H2 adtabase in ${activiti.home}/apps/h2" />
<mkdir dir="${activiti.home}/apps/h2" />
<copy todir="${activiti.home}/apps/h2">
<fileset dir="${activiti.home}/setup/files/dependencies/libs">
<include name="h2*.jar"/>
</fileset>
<fileset dir="files/h2" />
</copy>
<chmod perm="a+x">
<fileset dir="${activiti.home}/apps/h2">
<include name="*.sh"/>
</fileset>
</chmod>
</target>
<target name="internal.db.install.h2.unnecessary"
unless="h2.not.installed">
<echo message="H2 is already installed" />
</target>"H2 is already installed" - thats my target… 06-14-2011 03:38 AM
08-10-2011 04:19 PM
C:\activiti\…
| - activiti-5.4
| - activiti-5.6
| - downloads
| - \ activiti-modeler-5.4.war
| - \ apache-tomcat-6.0.32.zip
| - …The files into the folder downloads have been downloaded automatically during the Activiti 5.4 setup.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.