ehatcher 2004/02/15 11:19:55 Modified: contributions build.xml Log: gettin jiggy with ant 1.6 Revision Changes Path 1.5 +17 -18 jakarta-lucene-sandbox/contributions/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 12 Jan 2004 16:41:56 -0000 1.4 +++ build.xml 15 Feb 2004 19:19:55 -0000 1.5 @@ -2,26 +2,25 @@ <property name="dist.dir" location="dist"/> - <target name="clean"> - <subant target="clean"> - <property name="dist.dir" location="${dist.dir}"/> + <macrodef name="crawl"> + <attribute name="target"/> + <sequential> + <subant target="@{target}" failonerror="false"> + <property name="dist.dir" location="${dist.dir}"/> + + <fileset dir="." + includes="*/build.xml" + excludes="webcrawler-LARM/build.xml,taglib/build.xml" + /> + </subant> + </sequential> + </macrodef> - <fileset dir="." - includes="*/build.xml" - /> - </subant> + <target name="clean"> + <crawl target="clean"/> </target> <target name="build-tree"> - <subant target=""> - <property name="dist.dir" location="${dist.dir}"/> - - <!-- LARM now lives at SourceForge. taglib compiles, but JSP is busted - --> - <fileset dir="." - includes="*/build.xml" - excludes="webcrawler-LARM/build.xml,taglib/build.xml" - /> - </subant> + <crawl target=""/> </target> -</project> \ No newline at end of file +</project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]