When you are working with Web projects in Rational Business Developer, you create EGL deployment descriptor (.egldd) files to specify how you want the pages and services deployed on an application server. When your application is ready to test on the server, you can perform the deployment by right-clicking on the .egldd file in the Project Explorer and clicking on menu option Deploy EGL Descriptor.
As your application development process matures and involves more developers, you may want to automate the process to ensure consistency of your deployment. Suppose you have defined your web application configuration in file
MyProjectDeploymentDescriptor.egldd located in project folder
MyProject\EGLSource. (See the Information Center for more information on
specifying a web application server in your deployment descriptor.) Did you know there is a simple way to deploy this configuration using a command file? The deployment operation runs "headless" under the RBD EGLCMD processor running in your workspace.
To see an example of how this works:
setRBDEnvironment.cmd - identifies workspace and RDB jar files for running IDE in headless mode
deployFromCMDFile.cmd - calls RBD EGLCMD to run deploy CMD file
deployCMDFile.xml - example of deploy CMD file
- Edit setRBDEnvironment.cmd to change the variable values to match your RBD configuration
deployFromCMDFile MyProject\deployCMDFile.xml
Deploying EGL applications using command files provides an automated, repeatable process.
Paul