Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Ant, Maven and Other Build Tools and the fly likes Websphere 4.0 and ANT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Websphere 4.0 and ANT" Watch "Websphere 4.0 and ANT" New topic

Websphere 4.0 and ANT

Leo Padal

Joined: May 09, 2005
Posts: 4
Hi all,
We are using IBM Webspphere 4.0 Advanced edition on a Windows 2000 machine. I was wondering if nayone knew about command line options to start and stop the application server from command line.
We are using ANT to deploy a java web application on the WAS 4.0 server. These are thefollowing steps
1. If the server is started then stop it.
2. copy the EAR file to a particular location.
3. Restart the application server.

I am hoping to write a batch file which will do the above things.

Thanks in advance!
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

"Leo leo"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it


Thanks! and welcome to the JavaRanch!


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Have you tried LearnNowOnline?
subject: Websphere 4.0 and ANT