ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Willems" <>
Subject avoid subant on 'non-ant' directories
Date Mon, 24 Oct 2005 15:23:48 GMT
Hi all,


I have setup a recursive build structure that runs OK, except for the
'non-ant' directories.

I mean directories that don't have a build.xml file included.

I got it running using exclude statements for each know non-ant directory
and the 'failonerror=false" but this is poor solution regarding maintenance.


       <target name="build_generic" depends="init, compile_single,

                <!-- call the 'compile' target on the sub directories. -->

                <subant target="build" failonerror="false">

                        <dirset dir="${basedir}">

                                <include name="*"/>

                                <exclude name="${OBJDIR}"/>

                                <exclude name="CVS"/>

                                <exclude name="public"/>






Any tips for a better solution?


Thanks in advance



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