Author: crossley
Date: Thu Aug 28 01:08:32 2008
New Revision: 689754
URL: http://svn.apache.org/viewvc?rev=689754&view=rev
Log:
Use "recursive=true" for the top-level checkout with "getsrc.svn". Do not
checkout the "project.content-dir" separately.
Issue: FOR-1099
Modified:
forrest/trunk/tools/forrestbot/core/getsrc.xml
Modified: forrest/trunk/tools/forrestbot/core/getsrc.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbot/core/getsrc.xml?rev=689754&r1=689753&r2=689754&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbot/core/getsrc.xml (original)
+++ forrest/trunk/tools/forrestbot/core/getsrc.xml Thu Aug 28 01:08:32 2008
@@ -88,22 +88,15 @@
<property name="getsrc.svn.revision" value="HEAD"/>
<property name="build.svn-dir" location="work/svn"/>
<target name="getsrc.svn" description="FB: Get source from an SVN
repository">
-<!-- non-recursive; just to get forrest.properties -->
<echo>svn: ${getsrc.svn.url} -> ${build.svn-dir}/${ant.project.name}</echo>
<svncheckout repositoryUrl="${getsrc.svn.url}"
destination="${build.svn-dir}/${ant.project.name}"
revision="${getsrc.svn.revision}"
failonerror="true"
- recursive="false"/>
+ recursive="true"/>
<echo>Loading
${build.svn-dir}/${ant.project.name}/forrest.properties..</echo>
<loadproperties
srcFile="${build.svn-dir}/${ant.project.name}/forrest.properties"/>
<loadproperties
srcFile="${forrest.home}/main/webapp/default-forrest.properties"/>
-<!-- only the project.content-dir directory -->
- <echo>svn: ${getsrc.svn.url}/${project.content-dir} ->
${build.svn-dir}/${ant.project.name}/${project.content-dir}</echo>
- <svncheckout repositoryUrl="${getsrc.svn.url}/${project.content-dir}"
- destination="${build.svn-dir}/${ant.project.name}/${project.content-dir}"
- revision="${getsrc.svn.revision}"
- failonerror="true"/>
<copy todir="${build.work-dir}" overwrite="true">
<fileset dir="${build.svn-dir}/${ant.project.name}"/>
</copy>