<propertyfile>

This task is very useful for those developers that have to maintain property files that can be used in applications outside of the build process. Although basically a wrapper to the standard java.util.Properties class, there are some additional features that make this task very useful and powerful. Table 5.8 shows the attributes for the top-level tag for <propertyfile>.

Table 5.8. Table of <propertyfile> Attributes
Attributes Description
file The location of the file to be edited/created. (Required)
header A header for the file.

Within this task, any number of nested <entry> elements might exist. Each <entry> element represents a key/pair value in the property file. Table 5.9 shows the attributes available for this element. ...

Get Ant Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.