forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r290860 - /forrest/trunk/main/targets/seed.xml
Date Wed, 21 Sep 2005 23:37:26 GMT
Author: crossley
Date: Wed Sep 21 16:37:23 2005
New Revision: 290860

URL: http://svn.apache.org/viewcvs?rev=290860&view=rev
Log:
Enable the seed template to work for any seed.

Modified:
    forrest/trunk/main/targets/seed.xml

Modified: forrest/trunk/main/targets/seed.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/targets/seed.xml?rev=290860&r1=290859&r2=290860&view=diff
==============================================================================
--- forrest/trunk/main/targets/seed.xml (original)
+++ forrest/trunk/main/targets/seed.xml Wed Sep 21 16:37:23 2005
@@ -85,14 +85,16 @@
     <property name="search.provider" value="google"/>
     <property name="search.box.location" value="default"/>
     
+    <property name="seed-template" value="business"/>
     <antcall target="-copyTemplate"/>
   </target>
-  
+
   <target name="seed-business"  depends="ensure-nocontent, getProperties"
     description="A typical business site">
+    <property name="seed-template" value="business"/>
     <antcall target="-copyTemplate"/>
   </target>
-  
+
   <target name="getProperties" 
     depends="getProjectProperties, getGroupProperties, getSearchProperties"/>
   
@@ -133,7 +135,7 @@
   
   <target name="-copyTemplate">
      <copy todir="${project.home}" overwrite="false" filtering="true">
-        <fileset dir="${forrest.core}/template-sites/business"/>
+        <fileset dir="${forrest.core}/template-sites/${seed-template}"/>
         <filterset>
           <!-- Project properties -->
           <filter token="project.display.name" value="${project.display.name}"/>



Mime
View raw message