[Mapbender-commits] r7373 - trunk/build
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Dec 22 11:24:19 EST 2010
Author: astrid_emde
Date: 2010-12-22 08:24:19 -0800 (Wed, 22 Dec 2010)
New Revision: 7373
Modified:
trunk/build/build.sh
Log:
changes for 2.7, still needs review to automize the build process
Modified: trunk/build/build.sh
===================================================================
--- trunk/build/build.sh 2010-12-22 16:05:12 UTC (rev 7372)
+++ trunk/build/build.sh 2010-12-22 16:24:19 UTC (rev 7373)
@@ -17,8 +17,8 @@
# URL to version that is being built
SVN_URL="https://svn.osgeo.org/mapbender"
-# path to jsdoc.pl
-#JSDOC_PATH="JSDoc"
+# path to NaturalDocs
+#NaturalDocs_PATH="/data/data/NaturalDocs-1.51"
# path to "javascript" folder in Mapbender
#JS_PATH="http/javascripts"
@@ -63,14 +63,14 @@
echo "checking out from $SVN_URL/branches/$1 ..."
svn co -q $SVN_URL/branches/$1 $FOLDER/
-#compile JSDoc
-#echo "compiling JSDoc ..."
-#perl $JSDOC_PATH/jsdoc.pl $FOLDER/$JSDOC_F
+#compile NaturalDocs
+#echo "compiling NaturalDocsDoc ..."
+#./NaturalDocs --exclude-input /data/build27/2.7/http/extensions/ --exclude-input /data/build27/2.7/test --exclude-input /data/build27/2.7/resources --exclude-input /data/build27/2.7/tools -i /data/build27/2.7/ -o html /data/build27/2.7/documents/api_js -p /data/build27/2.7/documents/api_js
-#move JSDoc to folder
+#move NaturalDocs to folder
#mkdir $FOLDER/documents 2>/dev/null
#mkdir $FOLDER/documents/jsdoc 2>/dev/null
-#mv js_docs_out/* $FOLDER/documents/jsdoc/ 2>/dev/null
+#mv nd_docs_out/* $FOLDER/documents/jsdoc/ 2>/dev/null
#rm -rf js_docs_out 2>/dev/null
#check in JSDOC
@@ -94,7 +94,7 @@
if test $createTag = "yes"
then
echo "OK, will now create a tag for uncompressed files..."
- svn copy -q --username $2 --password $password -m "this is the build script creating a tag for version $1" $FOLDER $SVN_URL/tags/2.5.1rc1
+ svn copy -q --username $2 --password $password -m "this is the build script creating a tag for version $1" $FOLDER $SVN_URL/tags/2.7rc1
else
echo "Skipping tag creation..."
@@ -102,25 +102,25 @@
# compress JS files
-echo "compressing JS ..."
-cd $FOLDER 2>/dev/null
-for file in `find -type f -name *.js`
-do
- echo "minifying $file ..."
- ORIG=$file"_orig"
- mv $file $ORIG 2>/dev/null
- php5 ../jsmin.php $ORIG > $file
- rm $ORIG 2>/dev/null
-done
-cd .. 2>/dev/null
+#echo "compressing JS ..."
+#cd $FOLDER 2>/dev/null
+#for file in `find -type f -name *.js`
+#do
+# echo "minifying $file ..."
+# ORIG=$file"_orig"
+# mv $file $ORIG 2>/dev/null
+# ##php5 ../jsmin.php $ORIG > $file
+# rm $ORIG 2>/dev/null
+#done
+#cd .. 2>/dev/null
#compute checksums
echo "computing checksums for update to next version..."
-php5 checksum/build-checksum.php $FOLDER
-for file in `find $FOLDER -type f -name checksum.json`
-do
- svn add -q $file
-done
+#php5 checksum/build-checksum.php $FOLDER
+#for file in `find $FOLDER -type f -name checksum.json`
+#do
+# svn add -q $file
+#done
# create a tag for compressed files
#if test $createTag = "yes"
@@ -148,4 +148,4 @@
zip -rq $ZIP_FILENAME mapbender_$1/*
# remove build folder
-rm -rf mapbender_$1 2>/dev/null
\ No newline at end of file
+rm -rf mapbender_$1 2>/dev/null
More information about the Mapbender_commits
mailing list