I've just tried out the instructions in /wookie/widgets/templates/readme to 
generate a test widget:

  * cd widgets
  * mkdir helloWorld
  * create a file called "./widget.properties"
  * open widget.properties in your favourite editor and add the following:
    * template.name=base
    * widget.shortname=HelloWorld
    * widget.name=Hello World
    * widget.description=A very friendly widget to demonstrate how easy it is 
to build a widget from templates.
  * Create a file called "content_primary.html" and the following content
    * <p>Hello World!</p>
  * Ensure that Wookie is running locally
  * ant generate-widgets -D widget.include==helloWorld
  * take a look at your new widget in your local instance of Wookie

Unfortunately, I get:

Scotts-MacBook-Pro:templates scottw$ ant generate-widgets 
-Dwidget.include=helloWorld
Buildfile: /Users/scottw/Documents/workspace2/wookie/widgets/templates/build.xml

generate-widgets:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] |  Generating widgets                      |
     [echo] |  include: helloWorld              |
     [echo] |  in: /Users/scottw/Documents/workspace2/wookie/widgets/templates  
                        |
     [echo] |                                          |
     [echo] +------------------------------------------+

BUILD FAILED
/Users/scottw/Documents/workspace2/wookie/widgets/templates/build.xml:50: 
/Users/scottw/Documents/workspace2/wookie/widgets/templates/widgets does not 
exist.

Total time: 0 seconds

- S

Reply via email to