You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by br...@apache.org on 2004/07/17 20:53:48 UTC

svn commit: rev 23008 - forrest/trunk/src/forrestbot/core

Author: brondsem
Date: Sat Jul 17 11:53:47 2004
New Revision: 23008

Modified:
   forrest/trunk/src/forrestbot/core/deploy.xml
   forrest/trunk/src/forrestbot/core/forrestbot.xml
   forrest/trunk/src/forrestbot/core/getsrc.xml
   forrest/trunk/src/forrestbot/core/notify.xml
Log:
descriptions for forrestbot targets; any thoughts on the 'FB:' prefixes?

Modified: forrest/trunk/src/forrestbot/core/deploy.xml
==============================================================================
--- forrest/trunk/src/forrestbot/core/deploy.xml	(original)
+++ forrest/trunk/src/forrestbot/core/deploy.xml	Sat Jul 17 11:53:47 2004
@@ -18,7 +18,7 @@
 
   <property name="deploy.local.dir" location="sites/${ant.project.name}"/>
 
-  <target name="deploy.local">
+  <target name="deploy.local" description="FB: Deploy to a local location">
     <mkdir dir="${deploy.local.dir}"/>
     <echo>Deploying from ${build.site-dir} to ${deploy.local.dir}</echo>
     <copy todir="${deploy.local.dir}">
@@ -30,7 +30,7 @@
   </target>
 
   <property name="deploy.scp.dest" value=""/>
-  <target name="deploy.scp">
+  <target name="deploy.scp" description="FB: Deploy to a remote location via scp">
     <scp todir="${deploy.scp.dest}">
      <fileset dir="${build.site-dir}"/>
     </scp>
@@ -45,7 +45,7 @@
   
   <property name="deploy.cvsmodule-dir" value="work/cvsmodules-deploy/${ant.project.name}"/>
   
-  <target name="deploy.cvs">
+  <target name="deploy.cvs" description="FB: Deploy by committing to a CVS repository">
     <condition property="isUnix">
         <os family="unix"/>
     </condition>

Modified: forrest/trunk/src/forrestbot/core/forrestbot.xml
==============================================================================
--- forrest/trunk/src/forrestbot/core/forrestbot.xml	(original)
+++ forrest/trunk/src/forrestbot/core/forrestbot.xml	Sat Jul 17 11:53:47 2004
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 
-<project basedir="." default="main">
+<project name="forrestbot" basedir="." default="main">
 
   <property environment="ENV"/>
   <property name="forrest.home" location="${ENV.FORREST_HOME}"/>
@@ -30,15 +30,15 @@
   <import file="${bot.home}/core/notify.xml"/>
 
   <!-- default implmentations for each workstages -->
-  <target name="getsrc" depends="getsrc.cvs"/>
+  <target name="getsrc" depends="getsrc.cvs" description="FB: Get source via getsrc.cvs"/>
 
-  <target name="build" depends="build.forrest"/>
+  <target name="build" depends="build.forrest" description="FB: Build via `forrest site`"/>
 
-  <target name="deploy" depends="deploy.local"/>
+  <target name="deploy" depends="deploy.local" description="FB: Deploy via deploy.local"/>
 
-  <target name="notify" depends="notify.local"/>
+  <target name="notify" depends="notify.local" description="FB: Notify via notify.local"/>
 
   <!-- run the workstages -->
-  <target name="main" depends="getsrc, build, deploy, notify"/>
+  <target name="main" depends="getsrc, build, deploy, notify" description="FB: getsrc, build, deploy, notify"/>
 
 </project>

Modified: forrest/trunk/src/forrestbot/core/getsrc.xml
==============================================================================
--- forrest/trunk/src/forrestbot/core/getsrc.xml	(original)
+++ forrest/trunk/src/forrestbot/core/getsrc.xml	Sat Jul 17 11:53:47 2004
@@ -23,7 +23,7 @@
       <delete dir="${build.work-dir}"/>
   </target>
 
-  <target name="getsrc.local">
+  <target name="getsrc.local" description="FB: Get source from local filesystem">
     <property name="build.home-dir" value="${getsrc.local.root-dir}" />
   </target>
 
@@ -37,7 +37,7 @@
 
   <property name="build.cvsmodule-dir"    location="work/cvsmodules"/>
 
-  <target name="getsrc.cvs" depends="getsrc.clean-workdir">
+  <target name="getsrc.cvs" depends="getsrc.clean-workdir" description="FB: Get source from a CVS repository">
 
     <cvspass cvsroot=":pserver:${getsrc.cvs.user}@${getsrc.cvs.host}:${getsrc.cvs.root}" password="${getsrc.cvs.password}"/>
 
@@ -101,7 +101,7 @@
 
   <property name="build.svn-dir"    location="work/svn"/>
 
-  <target name="getsrc.svn" depends="getsrc.clean-workdir">
+  <target name="getsrc.svn" depends="getsrc.clean-workdir" description="FB: Get source from an SVN repository">
     <!-- non-recursive; just to get forrest.properties -->
     <svncheckout repositoryUrl="${getsrc.svn.url}"
       destination="${build.svn-dir}/${ant.project.name}"

Modified: forrest/trunk/src/forrestbot/core/notify.xml
==============================================================================
--- forrest/trunk/src/forrestbot/core/notify.xml	(original)
+++ forrest/trunk/src/forrestbot/core/notify.xml	Sat Jul 17 11:53:47 2004
@@ -26,7 +26,7 @@
     <property name="notify.completion-status" value="- workstage should have set this -"/>
   </target>
 
-  <target name="notify.local" depends="notify.init, build">
+  <target name="notify.local" depends="notify.init, build" description="FB: Notify to the console">
     <tstamp>
       <format property="NOW" pattern="dd MMMM hh:mm aa"/>
     </tstamp>
@@ -47,7 +47,7 @@
   <property name="notify.email.host" value="localhost"/>
   <property name="notify.email.to"   value="${user.name}@localhost"/>
   
-  <target name="notify.email" depends="notify.init, build" if="build.failed">
+  <target name="notify.email" depends="notify.init, build" if="build.failed" description="FB: Notify by email">
     <tstamp>
       <format property="NOW" pattern="dd MMMM hh:mm aa"/>
     </tstamp>