• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

automate the process of deploying

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone write a script to automate the process of deploying or give me some idea how to do it?

The repetitive (and irritating) process is:

1. Export the WAR file from RAD, RSA, WSAD etc.
2. Delete existing WAR file from portal server.
3. Install new file.
4. Add portlet into page (again).
5. View the page.

It would be quite nice to do all these on a click!

 
Hemant Sharma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

There's no need to delete existing war file, install updated one and add portlet to page again while redeployment. Instead, simply update the existing war file (through admin console). The portlet on the page will automatically be updated.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hemant Sharma:

Instead, simply update the existing war file (through admin console). The portlet on the page will automatically be updated.


Yeah, but it doesn't work always. I don't know the reason but it just doesn't happen all the time.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic