aboutsummaryrefslogtreecommitdiffstats
path: root/update_docs_svn.sh
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-01-17 09:15:40 +0000
committerManolo Carrasco <manolo@apache.org>2011-01-17 09:15:40 +0000
commitb658f0f2908bed826ffce29cc9f11d3a15ce7d1c (patch)
treea518f4348455021d0c1e77af3587642e3c8f6e54 /update_docs_svn.sh
parente4ba7e79c6d782e92de9e03e09d191c24188dc2a (diff)
downloadgwtquery-b658f0f2908bed826ffce29cc9f11d3a15ce7d1c.tar.gz
gwtquery-b658f0f2908bed826ffce29cc9f11d3a15ce7d1c.zip
update javadocs and demos deployed in svn
Diffstat (limited to 'update_docs_svn.sh')
-rw-r--r--update_docs_svn.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/update_docs_svn.sh b/update_docs_svn.sh
index ff674adc..88befc86 100644
--- a/update_docs_svn.sh
+++ b/update_docs_svn.sh
@@ -2,23 +2,25 @@
# Script to update javadoc deployed in svn
-cp -r gwtquery-core/target/apidocs/* gwtquery-core/javadoc/
+p=`pwd`
+
+cd gwtquery-core
+mvn javadoc:javadoc
+cd $p
+
+cp -r gwtquery-core/target/site/apidocs/* gwtquery-core/javadoc/
for i in `find gwtquery-core/javadoc/ -type d | grep -v .svn | sed -e 's#gwtquery-core/javadoc/##g' `
do
- [ ! -d gwtquery-core/target/apidocs/$i ] && svn delete gwtquery-core/javadoc/$i
+ [ ! -d gwtquery-core/target/site/apidocs/$i ] && svn delete gwtquery-core/javadoc/$i
done
for i in `find gwtquery-core/javadoc/ -type f | grep -v .svn | sed -e 's#gwtquery-core/javadoc/##g' `
do
- [ ! -f gwtquery-core/target/apidocs/$i ] && svn delete gwtquery-core/javadoc/$i
+ [ ! -f gwtquery-core/target/site/apidocs/$i ] && svn delete gwtquery-core/javadoc/$i
done
find gwtquery-core/javadoc/ | grep -v .svn | xargs svn add
find gwtquery-core/javadoc/ -type f -name "*html" -exec svn propset svn:mime-type text/html '{}' ';'
-
-
-
-