You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2006/11/26 03:28:48 UTC

svn commit: r479260 - /jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh

Author: bayard
Date: Sat Nov 25 18:28:48 2006
New Revision: 479260

URL: http://svn.apache.org/viewvc?view=rev&rev=479260
Log:
Deploy a nightly site for m1 components

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=479260&r1=479259&r2=479260
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh Sat Nov 25 18:28:48 2006
@@ -170,6 +170,16 @@
   cd ..
   rm -r rat
   
+  # deploy site, if not there then try to generate it first
+  if [ ! -d target/docs/ ]
+  then
+      maven site
+  fi
+  if [ -d target/docs/ ]
+  then
+      rm -r $nightly_reports/commons-$component/site
+      mv target/docs/ $nightly_reports/commons-$component/site
+  fi
 
       # Create checksum file
       md5sum -b target/commons-$component-$time_stamp.jar > \



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