ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Boehm <bo...@Informatik.BA-Stuttgart.De>
Subject Re: ant calling ant calling ant
Date Thu, 26 Oct 2000 20:25:49 GMT
Pete O'Donnell wrote:
> 
> 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">
>         </target>

try something like this:

  <target name="clean">
    <delete>
      <fileset dir="."
	       includes="**/*.class"
      />
    </delete>
  </target>

hope that helps
Oliver
-- 
Oliver Böhm
mailto:boehm@ba-stuttgart.de
http://www.ba-stuttgart.de/~boehm

Mime
View raw message