I’m using IBM RAD as the IDE and Websphere Application Server v6.0 to deploy applications.
I’m working on a EJB application and build it using ANT and then deploy it using the Admin Console of the server. For every change this deploying is time consuming. ‘Run on server’ on the EAR file does not work sometimes.
Is it possible to automate the installation of the ear file too?
When I build the ear file, I should be able to deploy it to the server too from command line or from ant script.
Can you please help me with your suggestions?
Try the Rapid Deployment (WRD) and see if that helps you.
Pretty much what you do is drop your EAR into a designated directory that WRD monitors and it takes care of the installation,uninstallation and updates.
The best alternative is to have the build script that does the installation using ws_ant tasks. For a start i would suggest you try this approach too and see if that is useful.
HTH
Manglu