Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 4790 invoked from network); 8 Jun 2010 12:52:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jun 2010 12:52:05 -0000 Received: (qmail 7732 invoked by uid 500); 8 Jun 2010 12:52:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7680 invoked by uid 500); 8 Jun 2010 12:52:03 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 7672 invoked by uid 99); 8 Jun 2010 12:52:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 12:52:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of milu71@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 Jun 2010 12:51:54 +0000 Received: (qmail invoked by alias); 08 Jun 2010 12:51:33 -0000 Received: from e182080162.adsl.alicedsl.de (EHLO wladimir) [85.182.80.162] by mail.gmx.net (mp014) with SMTP; 08 Jun 2010 14:51:33 +0200 X-Authenticated: #48488578 X-Provags-ID: V01U2FsdGVkX1/CVWwleJbCFRLBhi4cQ6TPGYqkek758Fmsgl3i8C 97pE6DW50U2mt5 Received: by wladimir (sSMTP sendmail emulation); Tue, 08 Jun 2010 14:51:16 +0200 Date: Tue, 8 Jun 2010 14:51:16 +0200 From: Michael Ludwig To: Ant Users List Subject: Re: Invoke child build scripts from master build script Message-ID: <20100608125116.GE1448@wladimir> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Holzwarth, Dominique (Berne Branch) schrieb am 08.06.2010 um 08:56 (+0100): > -products > |--productA > |--build.xml > -modules > |--moduleA > |--build.xml > |--moduleB > |--build.xml > |--moduleC > |--build.xml > > The purpose of the build.xml inside the folder "productA" a is > to configure which modules belong to a certain product (there > could be a productB with another configuration of modules). The > productA/build.xml should iterate over the modules/moduleX/build.xml > files and execute their tasks. > My problem is: > The sources of the modules (I'm testing it for 1 module) are > compiled, however, the base directory seems to be the one where the > master script (products/productA/build.xml) is stored. Due to that > fact, relative paths such as tempDir="obj" are created at the wrong > location! Would rearranging the build files solve the problem? What about moving productA/build.xml two levels up to the directory containing products/ and modules/, and creating targets called "productA", "productB", etc? -- Michael Ludwig --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org