svn commit: r951821 - in /forrest/trunk/tools/forrestbot/core: deploy.xml getsrc.xml

[email protected]
Newsgroups gmane.text.xml.forrest.cvs
Message-ID <[email protected]>
Author: crossley
Date: Sun Jun  6 05:08:33 2010
New Revision: 951821

URL: http://svn.apache.org/viewvc?rev=951821&view=rev
Log:
Tidy.
Issue: FOR-1198

Modified:
    forrest/trunk/tools/forrestbot/core/deploy.xml
    forrest/trunk/tools/forrestbot/core/getsrc.xml

Modified: forrest/trunk/tools/forrestbot/core/deploy.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbot/core/deploy.xml?rev=951821&r1=951820&r2=951821&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbot/core/deploy.xml (original)
+++ forrest/trunk/tools/forrestbot/core/deploy.xml Sun Jun  6 05:08:33 2010
@@ -139,8 +139,6 @@
 <!-- ================================================================= -->
 <!-- The deploy.svn target                                             -->
 <!-- ================================================================= -->
-  <property name="deploy.svn.user" value=""/>
-  <property name="deploy.svn.password" value=""/>
   <property name="deploy.svn.url" value=""/>
   <property name="deploy.svn.commit-message" value="Publish from forrestbot"/>
   <property name="deploy.svn.svn-dir" location="work/svn-deploy/${ant.project.name}"/>
@@ -158,7 +156,6 @@
       <fileset dir="${build.site-dir}"/>
     </copy>
 <!-- add new files to SVN -->
-<!-- svnadd doesn't work (it doesn't change the working directory properly) -->
     <exec executable="svn" dir="${deploy.svn.svn-dir}" output="${deploy.svn.svn-filestoadd}" failonerror="true">
       <arg value="status"/>
     </exec>
@@ -183,7 +180,7 @@
     <if>
       <equals arg1="${addedFiles}" arg2="true" />
       <then>
-       <echo message="New documents were added." />
+       <echo level="info" message="New documents were added." />
        <exec executable="svn" dir="${deploy.svn.svn-dir}">
         <arg value="add"/>
         <arg value="--targets"/>
@@ -191,7 +188,7 @@
        </exec>
       </then>
       <else>
-       <echo message="No new documents have been added." />
+       <echo level="info" message="No new documents have been added." />
       </else>
     </if>
 <!-- check in to SVN -->

Modified: forrest/trunk/tools/forrestbot/core/getsrc.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbot/core/getsrc.xml?rev=951821&r1=951820&r2=951821&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbot/core/getsrc.xml (original)
+++ forrest/trunk/tools/forrestbot/core/getsrc.xml Sun Jun  6 05:08:33 2010
@@ -94,7 +94,6 @@
       <arg value="co"/>
       <arg value="${getsrc.svn.url}"/>
       <arg value="${build.svn-dir}/${ant.project.name}"/>
-      
     </exec>
     
     <echo level="info">Loading ${build.svn-dir}/${ant.project.name}/forrest.properties..</echo>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.