This script deploys war files to tomcat webapp directory. Project name and tomcat version can be specified by the programmer as command line arguments.
Goto the root directory of your project and run the following command:
- ./deploy_to_tomcat <project_name> tomcat<version>
The war file is now deployed and tomcat service is restarted.