forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject [Vote] deprecated seed (was Re: svn commit: r231130)
Date Tue, 09 Aug 2005 23:10:02 GMT
On Tue, 2005-08-09 at 22:55 +0000, thorsten@apache.org wrote:
> Author: thorsten
> Date: Tue Aug  9 15:54:59 2005
> New Revision: 231130
> 
> URL: http://svn.apache.org/viewcvs?rev=231130&view=rev
> Log:
> Added new seed targets seed-basic and seed-sample. 
> That closes FOR-253. We should call a official vote that 'seed' is deprecated. 
> 

http://issues.apache.org/jira/browse/FOR-253

There are some more mails around that topic in the archive. 

Here my +1 to deprecated the "seed" target and use "seed-sample"
instead.


If vote pass I will apply:
Index: main/targets/seed.xml
===================================================================
--- main/targets/seed.xml       (revision 231130)
+++ main/targets/seed.xml       (working copy)
@@ -33,9 +33,14 @@
   <!-- ===============================================================
         Copies a template structure over to your project dir.
        ===============================================================
-->
-  <target name="seed" depends="ensure-nocontent"
-    description="deprecated - use 'seed-sample' instead * Seeds a
directory with a template project doc structure">
-     <copy todir="${project.home}" overwrite="false">
+  <target name="seed"
+    description="*deprecated - use 'seed-sample' instead*">
+     <antcall target="seed-sample"/>
+  </target>
+
+  <target name="seed-sample" depends="ensure-nocontent"
+    description="* Seeds a directory with a template project doc
structure">
+    <copy todir="${project.home}" overwrite="false">
         <fileset dir="${forrest.core}/fresh-site"/>
      </copy>
      <loadfile  property="template-project-created-message"
srcFile="${forrest.core}/var/template-project-created-message-sample.txt">@@ -44,10 +49,6
@@
     <echo>${template-project-created-message}</echo>
   </target>

-  <target name="seed-sample" description="* Seeds a directory with a
template project doc structure">
-    <antcall target="seed"/>
-  </target>
-
   <target name="seed-basic" depends="ensure-nocontent"
     description="* Seeds a basic example (1 file) and structure">
      <copy todir="${project.home}" overwrite="false">
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message