Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 58675 invoked from network); 7 Nov 2000 08:45:25 -0000 Received: from public.ndh.net (HELO public.ndh.com) (195.94.90.21) by locus.apache.org with SMTP; 7 Nov 2000 08:45:25 -0000 Received: from bodewig.bost.de ([195.227.98.11]) by public.ndh.com (8.9.3/8.8.0) with ESMTP id JAA14473 for ; Tue, 7 Nov 2000 09:45:22 +0100 (MET) Received: (from bodewig@localhost) by bodewig.bost.de (8.9.3/8.9.3) id JAA06217; Tue, 7 Nov 2000 09:45:22 +0100 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-user@jakarta.apache.org Subject: Re: "include" equivalnet in ant? References: <01f401c04842$82e1ee60$1501a8c0@unifiedoffice.com> From: Stefan Bodewig Date: 07 Nov 2000 09:45:22 +0100 In-Reply-To: "Duane Fields"'s message of "Mon, 6 Nov 2000 16:40:06 -0600" Message-ID: Lines: 41 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N >>>>> "DF" == Duane Fields writes: DF> I'd like to be able to include a collection of targets from DF> another build.xml into an antfile, Copy of the FAQ entry I've created four weeks ago but that hasn't been released yet (*grmbl*) follows: ------------------- How do I include another fragment of a buildfile? You can use XML's way of including external files and let the parser do the job for Ant: ]> ... &common; ... will literally include the contents of common.xml where you've placed the &common; entity. In combination with a DTD this would look like this: ]>