diff --git a/docs/index.html b/docs/index.html index 8149e7704..28341f04c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -980,6 +980,19 @@ by tasks that support this feature, or by FileSets.
multiple elements separated by commas or spaces, the nested <include> and <exclude> elements expect their name attribute to hold a single pattern. +The nested <include> and <exclude> elements allow you to use +if and unless arguments to specify that the element should only be used if a +property is set, or that it should be used only if a property is not set.
+For example
+++<patternset id="sources" > + <include name="std/**/*.java"/> + <include name="prof/**/*.java" if="professional"/> + <exclude name="**/*Test*"/> +</patternset> +
will only include the files in the sub-directory prof if the property +professional is set to some value.
FileSets are groups of files. These files can be found in a