Creating & Installing ZEPRS Updates
To create an update to ZEPRS, issue the following ant commands:
- delete-before-build - Cleans up compiled jsp's and tomcat work dir
- dist-zip - Copies necessary files and builds war and distribution zip.
The dist-zip ant call depends on all-jsp to compile jsp's. It also numbers each build; therefore, the final zip will be named zeprs_n.zip. This zip and its war are placed in your /build dir. Older versions are copied to /zeprs-war.
To install ZEPRS on the server, ftp the file to /home/staff/zeprs. Follow the instrctions in update_lusaka.sh. This shell script will copy the war file and update the admin db. If you used the Admin app to update any forms/fields, these will be updated when ZEPRS restarts. DynaConfigServlet runs when ZEPRS starts and calls UpdateDatabase, which issues any new commands stored in the appupdate table.
To install the ZEPRS app on a remote server, you may use the Tomcat Administration app to deploy the new war. You'll need to manually update the admin database.
- Printer-friendly version
- Login to post comments
- PDF version