If you have a WebSphere sMash application deployed on a server e.g. production or staging, and you need to replace the deployed version with a newer one e.g. after solving some defects, then you need to follow those steps:
- Open Rational Application Developer/Eclipse
- Open project folder & then open ivy.xml
- Increment the revision number e.g. from 1.0.0 to 1.0.1 (for more major changes, you can change to 1.1.0 and so on)
- Save
- Open command line window and set zero environment properly
- Go to the project directory under Eclipse workspace
- Invoke the command "zero package" & a zip file will be generated under the export directory
- FTP the file to the target server e.g. to /home/fadela/export
- Login to target server
- Set the zero environment on staging server for your own account (check how below)
- invoke the command "zero publish", for example:
- zero publish -f=/home/fadel/export/<project_module>-1.0.1.zip
- Finally run the command "zero update". This forces the sMash to reference the new version you just deployed instead of the existing one.
- Issue command zero stop followed by zero start to recycle the application for new changes to take effect.
 |
Update revision number |
No comments:
Post a Comment