aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Regarding build and deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Regarding build and deploy" Watch "Regarding build and deploy" New topic
Author

Regarding build and deploy

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 146
Hi,

Could you please tell me how to build and deploy a project using hudson with ant in glassfish server in every commit in svn.

Thanks,
Santhosh Kumar V.K
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

Which part of this series of steps are you having difficulty with?

To trigger a build in Hudson each time a Subversion commit is made, you will need a post-commit hook. A Google search will yield numerous blog entries on this: hudson subversion post-commit hook

I assume you know how to deploy an app to Glassfish. Based on that knowledge, you should be able to write an Ant task to do the same. And that task should be part of the Ant script that Hudosn runs when it gets called by the post-commit trigger.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding build and deploy