| This directory contains widget sourcecode and build files. |
| |
| Create a widget |
| =============== |
| |
| To create a widget: |
| |
| ant seed-widget |
| |
| This is an interactive target that will ask you a number of questions |
| about the widget you wish to create. The first question asks for a |
| short name for your widget. This short name is used as the name of the |
| widget directory and other key widget. For the rest of this document |
| WIDGET_SHORTNAME will refer to your response to this question. |
| |
| Once the target has completed your widget skeleton will be available in |
| a directory called WIDGET_SHORTNAME. |
| |
| The default widget will provide a very basic widget with default style |
| resource and javascript files. |
| |
| Build a Widget |
| ============== |
| |
| cd $WOOKIE_HOME |
| ant build-widget |
| |
| You will be asked for the name of the widget you wish to build. this name should be the |
| name of the folder containing the widget. |
| |
| Your widget package will be created in the widgets/build directory. |
| |
| Deploy a widget |
| =============== |
| |
| To deploy a widget to a running widget server use: |
| |
| cd £WOOKIE_HOME |
| ant deploy-widget |
| |
| You will be asked for the name of the widget you wish to build. this name should be the |
| name of the folder containing the widget. |
| |