Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 76415 invoked from network); 9 Aug 2005 22:56:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2005 22:56:50 -0000 Received: (qmail 87525 invoked by uid 500); 9 Aug 2005 22:56:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 87449 invoked by uid 500); 9 Aug 2005 22:56:43 -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 87436 invoked by uid 99); 9 Aug 2005 22:56:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 15:56:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gam@imail.kwcorp.com designates 65.118.99.196 as permitted sender) Received: from [65.118.99.196] (HELO TED.kwcorp.com) (65.118.99.196) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 09 Aug 2005 15:57:04 -0700 Received: from 172.16.3.1 by TED.kwcorp.com (InterScan E-Mail VirusWall NT); Tue, 09 Aug 2005 17:56:40 -0500 Received: from [172.16.51.111] [172.16.51.111] by imail.kwcorp.com with ESMTP (SMTPD-8.20) id A4A50570; Tue, 09 Aug 2005 17:56:37 -0500 Message-ID: <42F934B1.3080605@imail.kwcorp.com> Date: Tue, 09 Aug 2005 17:56:49 -0500 From: Geoffrey Mitchell User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@ant.apache.org Subject: Recursive ant builds Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have developed a build system architecture which uses one common, generic build.xml file to build each module in the project. This build file can then recursively call itself with a different basedir to build modules upon which the current module depends (dependencies are configured in a per-module properties file). I would love to be able to use the ant or subant task to accomplish this recursion, but I get the error "subant task calling a target that depends on its parent target 'deploy-deps'." I understand why I get this, but, frankly, it makes no sense, since the sub task is called with a different base directory, and, consequently, is a completely independent build. Am I doing something wrong, or is this simply a usage that was not planned for? Incidentally, I have accomplished had I wanted by simply running ant in a java task to perform the recursive builds. It just seems like it would be more efficient not to launch a new jvm for every sub-build. :-) --- [This E-mail scanned for viruses by Declude Virus] --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org