We have a source control repository to manage Alfresco extensions (I mean customizations). We would like to know how to manage build process of our Alfresco customizations and deploy the same in Tomcat. Also, Is it advisable to integrate Alfresco build with Continuous integration system.
1) Use Ant along with batch file or shell script based on environment. which will check out the code from your svn and update the vanilla alfresco.war file with all your customizations then you can use same war file for deployments.
2) Create AMP file from all your code using Ant. then use that amp file for deployment.
You can have environment specific properties in one property file with various copies which will help build file to distinguish the build between various environments.