|
ANT TutorialSpecifying meaningful descriptionsThe build file we saw in the previous section is nice and concise, but it doesn't say much about the actual project being built. There are a number of ways to make it more descriptive without changing the functionality. Here's an example:
As you can see, XML comments can be used throughout build files to improve clarity. Also, Ant defines its own description element and description attribute, which can be used to provide more structured annotations.
« Previous Chapter Next Chapter » |