forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <johannes.schae...@uidesign.de>
Subject Re: [Vote] deprecated seed (was Re: svn commit: r231130)
Date Wed, 10 Aug 2005 12:58:53 GMT
>>Added new seed targets seed-basic and seed-sample.
>>That closes FOR-253. We should call a official vote that 'seed' is deprecated.

-1

No need to deprecate the "seed" target.

Thought about it and I agree with Cheche (and Ross):
leave the "seed" target as a simple means to get
started (in analogy to 'forrest run'). It's easy to
use and easy to explain.

User want to seed a site? --> forrest seed
Want something special?   --> forrest seed-special

Where special may well be "seed-sample" that gives
the same results as a simple "seed".

Johannes


Thorsten Scherler schrieb:
> 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:
>>
> 
> 
> 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">


-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 * D-81825 München
www.uidesign.de

Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
www.user-interface-tuning.de

Mime
View raw message