Ant can help you assemble and deploy modules and applications. For details, see asant Assembly and Deployment Tool.