ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete O'Donnell" <>
Subject ant calling ant calling ant
Date Thu, 26 Oct 2000 19:40:04 GMT
i am trying to use ant to traverse down through directories.  i.e.  dir1 is
root. under that sub1 and sub2. under sub1 is subsub1.  all directories have
build.xml's.  lets consider the build.xml file in sub1.  and use the failing
call as an example:

from root/sub1/build.xml:
	<target name="clean">
              <delete dir="." includes="*.class"/>
	  <ant dir="subsub1" target="clean">

i want each build.xml to be responsible for (in clean's case) deleting all
class files in it's own directory and then calling ant clean on all
subdirectories.  the error message i get when running 'ant clean' from the
root directory is subsub1/build.xml not found.

is ant getting lost or is it just me.  please help,


View raw message