snip is an Ant task designed to help with the single-sourcing of program documentation. This task extracts snippets of text from files, placing them into properties in the Ant project. These properties can then be used by any other Ant task, and are particularly useful when referenced by <filter>s within the <copy> task. It was originally written to keep snippets of sample code in API documentation synchronized with the actual sample classes by automatically extracting code from the samples when the project is built.
|Tags||Software Development Build Tools Documentation Quality Assurance Text Processing Filters|
|Operating Systems||OS Independent|
Release Notes: The "xmlsafe" boolean attribute was added to task in order to automatically convert "<" and ">" characters in snip properties to "<" and ">", respectively.