title: How can a Liferay portal be placed under version control?
body: <p>What's a good way to put a Liferay portal under version control? By this, I don't mean versioning the portlets we wrote, but the actual layout and configuration of a running site.</p>
  
  <p>When setting a new site up all changes to layout and configuration are made through the admin Control Panel. What I'm looking to achieve with version control are:</p>
  
  <ol>
  <li>Make it possible to revert the site to any of its previous states.</li>
  <li>Make it easy to synchronize between developers so that when a dev instance is launched, it reflects the state of what's in production (or any other instance at a particular revision).</li>
  </ol>
  
  <p>Of course the state of content would be more or less dynamic (syncing database states would be a different issue), the focus here is more of the layouts, themes, pages and other things inherent in liferay like user groups, etc.</p>