About this task
Run this task to delete obsolete or unneeded search paths. The default behavior of this
task is to delete all search paths unless at least one SearchPathNameRule is specified as a nested
element. The DeleteSearchPathsTask element has an optional preview attribute.
Nested SearchPathNameRule elements can be included to specify which search paths to delete.
Example
The following is an example of the DeleteSearchPathsTask where all search paths are
displayed and not deleted:
<target name="example01" description="Delete all search paths" >
<ld:deletesearchpaths preview="true"/>
</target>
The following is an example of the DeleteSearchPathsTask where only the
specified search path named my_search_path is
deleted:
<target name="example02" description="Delete a search path" >
<ld:deletesearchpaths>
<ld:searchpathnamerule match="my_search_path"/>
</ld:deletesearchpaths>
</target>