This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes ANT script to deploy the WAR on Sun one web server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "ANT script to deploy the WAR on Sun one web server" Watch "ANT script to deploy the WAR on Sun one web server" New topic
Author

ANT script to deploy the WAR on Sun one web server

Nipun Bahr
Ranch Hand

Joined: Jul 09, 2008
Posts: 55


Hi All,

I am trying to write an ant script which automates the deployment process on sun one web server i.e. stops the server, generates and deploy the WAR and finally starts the server. Project is developed in icefaces.

Could you please suggest me the way?
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Are you using Eclipse?

If your answer is yes, you can go to File > Export > Ant.

It will create a build.xml file.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Nipun Bahr
Ranch Hand

Joined: Jul 09, 2008
Posts: 55


Hi Hebert,

Thanks for your reply.

Basically I am looking for a suggestion on writting such ant script as I am not master at writting ANT script.

Please guide me over that.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ANT script to deploy the WAR on Sun one web server
 
Similar Threads
war could not be opened, does it exist?
Redeploying in SUN ONE 6.0
deploying to Websphere 5.1 from the ant acript
Auto deployment script on sun one web server
Auto deployment on Sun one webserver