Author: rgardler
Date: Thu Feb 24 22:16:18 2011
New Revision: 1074317

URL: http://svn.apache.org/viewvc?rev=1074317&view=rev
Log:
can't have spaces in possible values, and it helps to have a default value

Modified:
    incubator/wookie/trunk/widgets/build.xml

Modified: incubator/wookie/trunk/widgets/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/build.xml?rev=1074317&r1=1074316&r2=1074317&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/build.xml (original)
+++ incubator/wookie/trunk/widgets/build.xml Thu Feb 24 22:16:18 2011
@@ -41,7 +41,7 @@
        
 
     <target name="seed-widget" description="Seed a new widget">
-       <input message="What type of widget template do you want to use?" 
validargs="basic, wave" addproperty="widget.type"/>
+       <input message="What type of widget template do you want to use?" 
validargs="basic,wave" defaultvalue="basic" addproperty="widget.type"/>
        <input message="What is the short name of the widget you wish to 
create?" addproperty="widget.shortname"/>
        <input message="Provide a brief description of the purpose of the 
${widget.shortname} widget" addproperty="widget.description"/>
        <input message="What is the default height of the ${widget.shortname} 
widget?" addproperty="widget.height" defaultvalue="320"/>


Reply via email to