File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Hi , Ant Script for Autio deployment on JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Hi , Ant Script for Autio deployment on JBoss" Watch "Hi , Ant Script for Autio deployment on JBoss" New topic
Author

Hi , Ant Script for Autio deployment on JBoss

Ramesh Ko
Greenhorn

Joined: Dec 27, 2011
Posts: 4
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

Joined: Jul 29, 2008
Posts: 275

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.

Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
Ramesh Ko
Greenhorn

Joined: Dec 27, 2011
Posts: 4
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

Joined: May 14, 2008
Posts: 5836
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hi , Ant Script for Autio deployment on JBoss