In an attempt to improve PlantUML documentation...
Wiki Toc Recent changes View page history Add new chapter Reorder page Raw
Writing an Ant TaskYou must have something like this into your Antbuild.xml file:
The Ant task processes all .c, .h, .cpp, .tex, .html, .htm or .java of the provided directory ( ./src in this example). It looks for @startXYZ and generates .png images.
| |||||||||||||||||||||||||||||||||||||||||||||||||
Output DirectoryYou can also specify a output directory for all generated images, usingoutput tag.
| |||||||||||||||||||||||||||||||||||||||||||||||||
Recurse through directoriesYou can also use Ant standard fileset or filelist. For example, if you want to process all java file inc:/src and subdirectories, (except files ending by Test.java ), and generate images into d:/images , you can use:
| |||||||||||||||||||||||||||||||||||||||||||||||||
SVG or EPS SupportYou can also useformat="svg" or format="eps" in the Ant task definition.
| |||||||||||||||||||||||||||||||||||||||||||||||||
Configuration fileYou can also provide a configuration file which will be included before each diagram.
| |||||||||||||||||||||||||||||||||||||||||||||||||
Other parameters
| |||||||||||||||||||||||||||||||||||||||||||||||||