Skip navigation.

WebLogic Server Command Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

 


SearchAndBuild

This Ant task executes build.xml files that are included within the FileSet. The task assumes that all of the files defined in FileSet are valid build files, and executes the Ant task of each of them.

Make certain that your FileSet filtering is correct. If you include the build.xml file that SearchAndBuildTask is being called from, you will be stuck in an infinite loop as this task will execute the top level build file—itself—forever. See FileSet.

Example

<project name="all_modules" default="all" basedir=".">

<taskdef name="buildAll" classname="weblogic.ant.taskdefs.build.SearchAndBuildTask"/>

<target name="all">

<buildAll>

<fileset dir="${basedir}">

<include name="**\build.xml"/>

<exclude name="build.xml"/>

</fileset>

</buildAll>

</target>

</project>

 

Skip navigation bar  Back to Top Previous Next