What does the includes="**/*.js"/ mean in the below merge code form an Ant file.
<target name="merge grid">
<echo>${grid.file}</echo>
<concat destfile="${grid.file}" fixlastline="yes" append="no">
<fileset dir="${js.src.dir}/dvr/components/grid/" includes="**/*.js"/>
</concat>
</target>
Also what does this part mean :
<target name="merge" depends="merge grid, merge solids"/>
In the fileset
matches files in the filesystem. The
**part means ‘in any directory’ (under the directory mentioned in thedirattribute). The*.jsmatches any file ending in.js. Overall, the fileset includes any.jsfile found in a sub-directory of${js.src.dir}/dvr/components/grid/recursively. See Directory-based Tasks. (The trailing/is not part of the includes pattern, it is the closing part of the fileset element in the XML:The
merge gridtarget, therefore will concatenate all.jsfiles into a single destination file of name defined in the propertygrid.file.The
targetis the opening of the definition of an Ant target, which is a sequence of Ant tasks that comprise a distinct step in the build. Thedependsattribute lists other targets – in this casemerge gridandmerge solids– that must be executed (if needed) before themergetarget itself. See Targets.