Preparing for a release
Building the Activiti Modeler for the first time? Check out the excellent documentation by Signavio: http://code.google.com/p/signavio-core-components/wiki/InstallationInstructions
- Update your local version (svn up)
- update in the build.properties file the version property
- build the war: (on the root): ant build-all-in-one-war. The war file will be stored in the /target folder
- rename the war to the current version: eg. from activiti-modeler.war to activiti-modeler-5.0.beta1.war
- Set or verify in user.home/.activiti.build.properties the modeler.target.folder property to point to the target folder in which the Activiti Modeler is built.
eg. - Call the patch.activiti.modeler ant target in distro/build.xml in the Activiti codebase. The easiest is to create a small script that does that for you on the root of the Modeler source:
This will patch the modeler war to include the Cycle plugin and the Activiti stencil set.
- The patched war will exist in /target/patched
Testing the war:
- Checkout the to-be-released (tag) version
- Edit distro/src/setup/build.xml : change the property 'activiti.modeler.download.url' to the war on your local system. Example:
- Comment the 'skip.deploy.activiti.modeler=true' property in the $user.home/.activiti/build.properties
- Build a new activiti distro (in qa dir: ant build.clean.distro or in distro dir: ant clean distro) and run the demo setup (in qa dir: ant test.demo.setup or in distro/target/activiti-${activiti.version}/setup/ dir: ant demo.setup).
- Verify if the modeler is correctly working.
Labels
