Can anyone tell me how to deploy an EJB in Ant. I have Ant 1.6.5, Websphere Application Server 5.1. I have tried ejbjar and ejbdeploy but in vain!
Thanks in advance, Anjani
Valentin Tanase
Ranch Hand
Joined: Feb 17, 2005
Posts: 704
posted
0
Hi Anjani,
Have you tried using the wldeploy ant task? I�m not sure if it ships with your old version of WebLogic, but you can at least try to find out. wldeploy tool on the other hand, is an Ant version of the weblogic.Deployer class. You can use this class to perform any deployment tasks, using basic command lines. Some projects provide a set of shell scripts that runs:
without using Ant. I�m not sure how these Ant deployment tasks work, but for sure I�ll tell you that weblogic specific tools will do the job quite nicely (although far from being perfect). WebLogic Builder is another tool you might use, but I�m pretty sure it doesn�t ship with Weblogic 5� Only few ideas. Regards.
Anjani, There is definitely an Ant task for WebSphere 4. I assume there is for WAS 5 as well. Our Ant script for WAS 5 runs the EjbDeploy program as a Java command.