camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject svn commit: r948643 - /camel/scripts/publish_camel_distro.sh
Date Thu, 27 May 2010 00:16:52 GMT
Author: hadrian
Date: Thu May 27 00:16:52 2010
New Revision: 948643

URL: http://svn.apache.org/viewvc?rev=948643&view=rev
Log:
Update to include spring-security and manuals

Modified:
    camel/scripts/publish_camel_distro.sh

Modified: camel/scripts/publish_camel_distro.sh
URL: http://svn.apache.org/viewvc/camel/scripts/publish_camel_distro.sh?rev=948643&r1=948642&r2=948643&view=diff
==============================================================================
--- camel/scripts/publish_camel_distro.sh (original)
+++ camel/scripts/publish_camel_distro.sh Thu May 27 00:16:52 2010
@@ -23,7 +23,7 @@ mkdir ${DOWNLOAD} 2>/dev/null
 # The camel-rest component is no longer used in 2.x and should be removed after 1.x is no
longer supported
 RUNDIR=$(cd ${0%/*} && echo $PWD)
 COMPLIST=( "camel-spring:spring" "camel-cxf:cxf" "camel-osgi:osgi"
-  "camel-rest:rest" "camel-spring-integration:spring/integration" )
+  "camel-rest:rest" "camel-spring-integration:spring/integration" "camel-spring-security:spring-security")
 DIST_DIR="/www/www.apache.org/dist"
 SITE_DIR="/www/camel.apache.org"
 
@@ -58,6 +58,14 @@ done
 echo
 
 echo "################################################################################"
+echo "                  DOWNLOADING MANUALS FROM APACHE REPOSITORY                     "
+echo "################################################################################"
+wget --no-check-certificate \
+ -r -np "--reject=txt" "--accept=html,pdf" "--follow-tags=" \
+ -P "${DOWNLOAD}/${VERSION}" -nH "--cut-dirs=3" "--level=1" "--ignore-length" \
+ "http://repository.apache.org/content/repositories/releases/org/apache/camel/camel-manual/${VERSION}/"
+
+echo "################################################################################"
 echo "                         RESET GROUP PERMISSIONS                                "
 echo "################################################################################"
 # Make sure to give appropriate permissions to the camel group
@@ -83,4 +91,9 @@ for comp in ${COMPLIST[*]}; do
 done
 echo
 
+echo "################################################################################"
+echo "                           PUBLISH CAMEL MANUAL                                "
+echo "################################################################################"
+cp ${DOWNLOAD}/${VERSION}/org/apache/camel/camel-manual/${VERSION}/camel-manual-${VERSION}.*
${SITE_DIR}/manual/
+
 echo "DONE"



Mime
View raw message