|
After designing Gracelets pages you will many times want to be able to easily and efficiently test and verify that everything
is working as expected. Unit testing is always a good method towards this end. Also you may want to use the templating that
Gracelets provides for generating even static content or for other purposes. To accomplish this and other related tasks, the Gracelets Tools project was made. Right now it has the foundation for a simulated Servlet Container environment as well as other tools to make it easy to use, migrate to and develop with Gracelets. Most of the tools will require everything required in the pom.xml (Maven) project file. You can easily satisfy these class requirements when using the Gracelets Server and Gracelets Tools is also shipped with the server. Below is a current list of the tools available with the Gracelets Tools jar: XHTML to Gracelet ConverterThis too will allow you to automatically convert any XHTML views you have already written for facelets into Gracelets views. This is also a good tool to learn how to write similiar pages in Gracelets from what you already know about Facelets. Learn more about XHTML to Gracelet Converter... Gracelets Component Library Documentation GeneratorIn order to Gracelets component developers to easily provide documentation on the libraries they have developed you can now use this tool to generate documentation about your library or libraries. You simply provide groovy doc (similiar to java doc) before each component declaration and this tool will parse the java doc and generate customizable documentation. Learn more about Gracelets Component Library Documentation Generator... Gracelets Mock Server/Browser EnvironmentWith the Mock Server/Mock Browser environment you can simulate a servlet container to process Gracelets pages. This can be used for many purposes including unit testing or as mentioned below, static content generation. Learn more about Gracelets Mock Server/Browser Environment... Gracelets Static Content GeneratorIn order to produce all of the documentation and site for Gracelets, the source for the site is actually written as gracelet views controllers and libraries. This is then processed to produce static content with this tool. This tool will browser (on an interval) a source directory for gracelet views and other resources and then process/copy them out to a destination directory. Learn more about Gracelets Static Content Generator... |
| Last Updated: 05/05/2009 09:43PM CDT | © Gracelets 2008-2009 |