File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17276

"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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Websphere 4.0 and ANT
It's not a secret anymore!