<project name='dependencies'> <dirname property='depend.root' file='${ant.file.dependencies}'/> <target name='depend.all' depends='depend.components'/> <target name='depend.api'> <ant dir='${depend.root}/api' target='compile' inheritAll='false'/> </target> <target name='depend.components' depends='depend.api, depend.util'> <ant dir='${depend.root}/components' target='compile' inheritAll='false'/> </target> <target name='depend.test' depends='depend.components'> <ant dir='${depend.root}/test' target='compile' inheritAll='false'/> </target> <target name='depend.util'> <ant dir='${depend.root}/util' target='compile' inheritAll='false'/> </target> <target name='depend-clean.all' depends='depend-clean.components'/> <target name='depend-clean.api'> <ant dir='${depend.root}/api' target='clean' inheritAll='false'/> </target> <target name='depend-clean.components' depends='depend-clean.api, depend-clean.util'> <ant dir='${depend.root}/components' target='clean' inheritAll='false'/> </target> <target name='depend-clean.test' depends='depend-clean.components'> <ant dir='${depend.root}/test' target='clean' inheritAll='false'/> </target> <target name='depend-clean.util'> <ant dir='${depend.root}/util' target='clean' inheritAll='false'/> </target> </project>