File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant for WebSphere 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Ant for WebSphere 5.0" Watch "Ant for WebSphere 5.0" New topic
Author

Ant for WebSphere 5.0

Gilsara Abreu
Greenhorn

Joined: Jul 05, 2004
Posts: 3
Is somebody here have any Ant script to deploy an application in WebSphere 5.0?
I am accepting any information about this topic.
I�ve AAT to generate the assembly for WAS 5.0 but i would like to use ANT to do the deployment.

Iam thankful Gil


System Analist from Brazil.
Don Stadler
Ranch Hand

Joined: Feb 10, 2004
Posts: 451
Websphere deployment outside WSAD is one of the 6 basic mysteries of the universe.....

IBM does a lot of stinky things in their custom deployment descriptor files. Things including generated artifact names including magic numbers.

There is an IBM tool which can do this for you as part of a build, but I forget the name. Otherwise the solution is to build and deploy into Websphere using the proper version of WSAD. I suspect that after you do this you can capture the IBM-specific DD's from the generated EAR and put them under source code control. With enough tweaking you ought to be able to do a build and deploy outside WSAD - until you change the system architecture.
David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
As our good friend and Bartender Kyle Brown always points out, "wsadmin is the only way to go" for automated deploys. Write some wsadmin scripts and invoke it with the Ant exec task. That way you can do the deploy with or without invoking Ant.


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
Don Stadler
Ranch Hand

Joined: Feb 10, 2004
Posts: 451
Originally posted by David Hibbs:
As our good friend and Bartender Kyle Brown always points out, "wsadmin is the only way to go" for automated deploys. Write some wsadmin scripts and invoke it with the Ant exec task. That way you can do the deploy with or without invoking Ant.


Aye, thats it! Thanks.
Don Stadler
Ranch Hand

Joined: Feb 10, 2004
Posts: 451
Originally posted by David Hibbs:
As our good friend and Bartender Kyle Brown always points out, "wsadmin is the only way to go" for automated deploys. Write some wsadmin scripts and invoke it with the Ant exec task. That way you can do the deploy with or without invoking Ant.


David, do you know which wsadmin demand actually generates the WLS-specific deployment-descriptors? Are there any examples available on the net that you're aware of?
Gilsara Abreu
Greenhorn

Joined: Jul 05, 2004
Posts: 3
I will try it!
Thank�s
 
 
subject: Ant for WebSphere 5.0
 
Threads others viewed
JMS Server
doGet and doPost
ANT script
What do YOU want from a WebSphere book?
Deployment in WS5.0 thru cmd line
IntelliJ Java IDE