ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc H. Graham" <>
Subject Subant supposed to do this??? (newbie)
Date Mon, 07 Nov 2005 18:59:58 GMT
I am using subant like this:

<target name="subant">
  <mkdir dir="${outdir}"/>
  <subant genericantfile="./VCCMake.xml"
    <fileset dir="." includes="**/makefile.mak"/>

When I run it with -v I get:

   [subant] calling target(s) [compile] in build file
parsing buildfile
K:\BuildDir\WebHeatmaps\Server\SeverEventLogging\makefile.mak with URI =

Which of course fails, since that file isn't xml. I don't see anything
in the subant documentation that leads me to expect this behavior. The
examples contain:

<subant target="">
                  <propertyref prefix="toplevel"/>
                  <mapper type="glob" from="foo*" to="bar*"/>
             <fileset dir="." includes="*/build.xml"/>
this snippet build file will run ant in each subdirectory of the project
directory, where a file called build.xml can be found.
Which leads me to believe that the fileset is just to pick the
subdirectories to use, not the build files to use. Since I have a
generic ant file, which, by the way, is in the file VCCMake.xml, (i.e.,
I want to call myself) why is it ignoring it? 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message