You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/05/10 18:50:03 UTC

svn commit: r169496 - /incubator/beehive/trunk/ant/nightly.xml

Author: ekoneil
Date: Tue May 10 09:50:03 2005
New Revision: 169496

URL: http://svn.apache.org/viewcvs?rev=169496&view=rev
Log:
Fixes for the nightly script.

Add a clean for "jsfWeb".  Not having cleaned this failed last night's run for some reason.

Start adding support for automatically running "sftp" after a successful nightly build.

BB: self
DRT: none


Modified:
    incubator/beehive/trunk/ant/nightly.xml

Modified: incubator/beehive/trunk/ant/nightly.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/ant/nightly.xml?rev=169496&r1=169495&r2=169496&view=diff
==============================================================================
--- incubator/beehive/trunk/ant/nightly.xml (original)
+++ incubator/beehive/trunk/ant/nightly.xml Tue May 10 09:50:03 2005
@@ -71,11 +71,31 @@
         <echo></echo>
     </target>
 
+    <!-- this target is a work in progress for automatically FTPing the archives via sftp to Apache -->
+    <target name="sftp.nightly">
+        <fail unless="user" message="Username undefined"/>
+
+        <property name="sftp.script" location="${beehive.home}/build/dist/archives/sftp-${date}-${beehive.svn.revision}"/>
+        <echo file="${sftp.script}">
+chdir /www/cvs.apache.org/dist/incubator/beehive/nightlies/
+mkdir ${date}
+put /home/eko/dev/oss/beehive-nightly/trunk/build/dist/archives/apache-beehive-incubating-${date}-${beehive.svn.revision}.tar.gz
+put /home/eko/dev/oss/beehive-nightly/trunk/build/dist/archives/apache-beehive-incubating-${date}-${beehive.svn.revision}.zip
+put /home/eko/dev/oss/beehive-nightly/trunk/build/dist/archives/README.txt
+        </echo>
+
+        <exec dir="." executable="sftp" os="Linux" output="results.txt">
+            <arg line=" -b ${sftp.script} ${user}@cvs.apache.org"/>
+        </exec>
+    </target>
+
     <target name="scrub.tomcat">
         <delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/coreWeb"/>
         <delete file="${os.CATALINA_HOME}/conf/Catalina/localhost/coreWeb.xml"/>
         <delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/controlsWeb"/>
         <delete file="${os.CATALINA_HOME}/conf/Catalina/localhost/controlsWeb.xml"/>
+        <delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/jsfWeb"/>
+        <delete file="${os.CATALINA_HOME}/conf/Catalina/localhost/jsfWev.xml"/>
     </target>
 
 </project>