Author: lresende
Date: Mon Nov 16 19:48:03 2009
New Revision: 880930
URL: http://svn.apache.org/viewvc?rev=880930&view=rev
Log:
Updating sync script to also sync Confluence 2.x Documentation wiki space to
tuscany live website
Modified:
tuscany/site/bin/sync
Modified: tuscany/site/bin/sync
URL:
http://svn.apache.org/viewvc/tuscany/site/bin/sync?rev=880930&r1=880929&r2=880930&view=diff
==============================================================================
--- tuscany/site/bin/sync (original)
+++ tuscany/site/bin/sync Mon Nov 16 19:48:03 2009
@@ -1,6 +1,10 @@
PATH="$PATH:/usr/local/bin"
export PATH
+##
+## Sync Tuscany web site
+##
+
# Cleanup in case something went wrong from last time
# This was happening frequently with all svn changes
(cd "/www/tuscany.apache.org/"; svn cleanup)
@@ -13,3 +17,14 @@
# Make sure everything is group writable
chmod -R g+w "/www/tuscany.apache.org/" > /dev/null
+
+
+##
+## Sync Tuscany 2.x documentation
+##
+
+# Install the cwiki exported content
+rsync -r "/www/confluence-exports/TUSCANYxDOCx2x/"
"/www/tuscany.apache.org/documentation-2x"
+
+# Make sure everything is group writable
+chmod -R g+w "/www/tuscany.apache.org/documentation-2x" > /dev/null