====== Deployment procedure to an application server ======

1. Make sure you have correct: 
1.1. settings.xml. There should be the correct application server version (e.g <exo.projects.app.tomcat.version>) etc.
1.2. exo directory structure.
1.3. Maven version 2.2.1 (or higher).
1.4. Make sure you have run mvn instal within ./config folder.  
2. Go to folder "exo.jcr.applications.tomcat" and run "mvn clean install -Pdeploy" command. This will pack JCR with JBoss Cache based components. Or run "mvn clean install -Pdeploy,ispn" to pack JCR with Infinispan based components.
2.1 If you want to deploy JBoss or Jonas use exo.jcr.applications.jboss or exo.jcr.applications.jonas respectively.
3. If the command has executed successfully, go to exo-tomcat and run "eXo run" command.

Application server's specific configs is placed in product-patches/as/ folder.

exo-configuration.xml - the main config file for the samles.
For now you may automatically deploy our samples for tomcat (WARs, JARs should be in tomcat/lib) and jboss (EAR) application server.  
Deployment procedure has been tested with tomcat-6.0.24, jboss-5.1.0.GA.
