From dev-return-85595-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Thu Jun 03 18:16:58 2010 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 54302 invoked from network); 3 Jun 2010 18:16:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 18:16:58 -0000 Received: (qmail 31791 invoked by uid 500); 3 Jun 2010 18:16:57 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 31677 invoked by uid 500); 3 Jun 2010 18:16:57 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 31669 invoked by uid 99); 3 Jun 2010 18:16:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 18:16:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 18:16:51 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OKExy-0004Ng-UO for dev@ant.apache.org; Thu, 03 Jun 2010 11:16:30 -0700 Message-ID: <28771184.post@talk.nabble.com> Date: Thu, 3 Jun 2010 11:16:30 -0700 (PDT) From: videophool To: dev@ant.apache.org Subject: using subant with multiple projects with specific build order MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8313_15077221.1275588990933" X-Nabble-From: nabble@beloved5.com ------=_Part_8313_15077221.1275588990933 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am new to ant, and am setting up a master build.xml. There are several projects (each with build.xml) that the master will build, and there is a dependency chain so that they must be built in a specific order. All of the subant examples that I find use dirset which does not allow control of the build order. I have hacked a working build.xml, but I will add multiple targets, and I do not want to copy/paste the hack. What I want to do is to define the collection of project folders outside of the subant block, and then use that collection with subant. See my current hack below. <project name="master"> <target name="all"> <subant> <target name="build"/> <target name="publish"/> <fileset dir="./Proj1Folder" includes="build.xml"/> <fileset dir="./Proj2Folder" includes="build.xml"/> <fileset dir="./Proj31Folder" includes="build.xml"/> <fileset dir="./Proj4Folder" includes="build.xml"/> </subant> </target> </project> -- View this message in context: http://old.nabble.com/using-subant-with-multiple-projects-with-specific-build-order-tp28771184p28771184.html Sent from the Ant - Dev mailing list archive at Nabble.com. ------=_Part_8313_15077221.1275588990933--