This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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: 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
It is sorta covered in the JavaRanch Style Guide.
subject: Websphere 4.0 and ANT
It's not a secret anymore!