• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hi , Ant Script for Autio deployment on JBoss

 
Ramesh Ko
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Team ,

Please any one help for scripting to auto deployment on JBOSS 5 server ,
The server has to start and stop automatically by tool.
It has to check out code from the CVS and to create jar deploy on server.


Regards,
Ramesh
 
Aniruddh Joshi
Ranch Hand
Posts: 275
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ant has CVS task to talk to CVS and exec task which can be used to execute start and stop scripts of the server.
Of course before restarting the server you need to do below-
Compile using javac, package the jar using jar task and copy it to the server's deploy directory.
 
Ramesh Ko
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aniruddh Joshi wrote:Ant has CVS task to talk to CVS and exec task which can be used to execute start and stop scripts of the server.
Of course before restarting the server you need to do below-
Compile using javac, package the jar using jar task and copy it to the server's deploy directory.


Help me with any script available
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please see: NotACodeMill

If you would post what you have so far, and describe how it is not working for you, we'd be happy to help.

P.S. Deploying to JBoss AS 5.x means copying a WAR or EAR file to the deploy folder. All you really need for that is Ant's <copy> task.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic