[Mapbender-commits] r5216 - trunk/build

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Dec 18 05:51:01 EST 2009


Author: christoph
Date: 2009-12-18 05:51:00 -0500 (Fri, 18 Dec 2009)
New Revision: 5216

Modified:
   trunk/build/build_html_doc_trunk.sh
Log:


Modified: trunk/build/build_html_doc_trunk.sh
===================================================================
--- trunk/build/build_html_doc_trunk.sh	2009-12-18 09:47:54 UTC (rev 5215)
+++ trunk/build/build_html_doc_trunk.sh	2009-12-18 10:51:00 UTC (rev 5216)
@@ -4,12 +4,13 @@
 # $1 - the name of the user
 
 DOC_FOLDER="/home/cbaudson/workspace/trunk/documents/api_js/"
-MAPBENDER_FOLDER="/home/cbaudson/workspace/trunk/"
+MB_FOLDER="/home/cbaudson/workspace/trunk/http/"
+EX_FOLDER="/home/cbaudson/workspace/trunk/http/extensions/"
 
 #compile Doc
 cd ./NaturalDocs-1.4
 echo "compiling JSDoc ..."
-./NaturalDocs -i $MAPBENDER_FOLDER -o html $DOC_FOLDER -p $DOC_FOLDER
+./NaturalDocs -i $MB_FOLDER -xi $EX_FOLDER -o html $DOC_FOLDER -p $DOC_FOLDER
 
 # ask if commit
 echo "Do you also want to commit the documentation (yes/no)?"
@@ -26,15 +27,26 @@
 
 	#check in Doc
 	echo "committing Doc ..."
+	cd $DOC_FOLDER
 	
+	svn up
+	svn add *
+	
 	# set property svn:mime-type text/html for all html files
 	for file in `find $DOC_FOLDER -name  "*.html"`
+	do
+		svn add $file
+		svn propset svn:mime-type text/html $file
+	done
 	
+	for file in `find $DOC_FOLDER -name  "*.css"`
 	do
-		svn -q propset svn:mime-type text/html $file
-		svn add -q $file
+		svn propset svn:mime-type text/css $file
 	done
 	
-	svn commit -m updated_documentation $DOC_FOLDER
+	svn ci -m updated_documentation *
+#	svn add $DOC_FOLDER
+	
+#	svn commit -m updated_documentation $DOC_FOLDER
 
 fi
\ No newline at end of file



More information about the Mapbender_commits mailing list