commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r546648 - /jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh
Date Tue, 12 Jun 2007 22:06:18 GMT
Author: dennisl
Date: Tue Jun 12 15:06:17 2007
New Revision: 546648

URL: http://svn.apache.org/viewvc?view=rev&rev=546648
Log:
Use the correct directory for apidocs in Maven 2 builds.
Fix some of the indentation.

Modified:
    jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh

Modified: jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh?view=diff&rev=546648&r1=546647&r2=546648
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh Tue Jun 12 15:06:17 2007
@@ -255,7 +255,7 @@
 
     mvn javadoc:javadoc >> $log_location/$component.log 2>&1
     # javadoc should be sitting in target/docs/apidocs/
-    if [ -d target/docs/apidocs/ ]
+    if [ -d target/site/apidocs/ ]
     then
       if [ -d ${javadoc_location}/$component/SNAPSHOT ]
       then
@@ -264,17 +264,17 @@
       cp -r target/site/apidocs/ ${javadoc_location}/$component/SNAPSHOT
     fi
 
-  if [ $DIST_DEPLOY ]
-  then
-    # Deploy source and binary distro to commons nightly location
-    ssh $deploy_user@$deploy_host mkdir -p $deploy_location/commons-$component
-    scp target/commons-$component*.gz \
-    $deploy_user@$deploy_host:$deploy_location/commons-$component
-    scp target/commons-$component*.zip \
-    $deploy_user@$deploy_host:$deploy_location/commons-$component
-    scp target/commons-$component*.md5 \
-    $deploy_user@$deploy_host:$deploy_location/commons-$component
-  fi
+    if [ $DIST_DEPLOY ]
+    then
+      # Deploy source and binary distro to commons nightly location
+      ssh $deploy_user@$deploy_host mkdir -p $deploy_location/commons-$component
+      scp target/commons-$component*.gz \
+      $deploy_user@$deploy_host:$deploy_location/commons-$component
+      scp target/commons-$component*.zip \
+      $deploy_user@$deploy_host:$deploy_location/commons-$component
+      scp target/commons-$component*.md5 \
+      $deploy_user@$deploy_host:$deploy_location/commons-$component
+    fi
 
     # Deploy dated jar to maven 2 snapshot repo (configured in apache pom)
     if [ `ls target/commons-$component*.jar` ] # build succeeded



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message