Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 45912 invoked from network); 19 Jun 2000 07:03:25 -0000 Received: from smtp01ffm.de.uu.net (192.76.144.150) by locus.apache.org with SMTP; 19 Jun 2000 07:03:25 -0000 Received: from sbodewig.bost.de ([195.127.75.69]) by smtp01ffm.de.uu.net (5.5.5/5.5.5) with ESMTP id JAA13211 for ; Mon, 19 Jun 2000 09:03:25 +0200 (MET DST) Received: (from bodewig@localhost) by sbodewig.bost.de (8.9.3/8.9.3) id JAA00850; Mon, 19 Jun 2000 09:03:22 +0200 X-Authentication-Warning: sbodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-dev@jakarta.apache.org Subject: Re: A question about "available" and doing conditionals in a build xml file. References: From: Stefan Bodewig Date: 19 Jun 2000 09:03:22 +0200 In-Reply-To: James Duncan Davidson's message of "Sun, 18 Jun 2000 01:15:00 -0700" Message-ID: Lines: 27 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N >>>>> "JDD" == James Duncan Davidson writes: JDD> Nit: properties aren't tasks Somebody should change docs/index.html#tasks then ;-) JDD> on 5/18/00 2:18 AM, Stefan Bodewig at bodewig@bost.de wrote: >> Most (all?) people involved agree that some way of conditional >> compilation - or more generally conditional task execution - is >> needed, but there are different opinions about how to do this. JDD> I still think that conditional compilation can be handled inside JDD> the javac task. :) If you're talking about include/exclude tags I'm almost convinced they are sufficient - this means that my projects get along with them quite well without a need for further logic support from Ant. What I still really need is a way to specify the include/exclude lists in an external file to get build files that are more readable. This doesn't help with the more general problem of conditional task execution. I get away with conditional target execution (and have added an unless attribute to target in my private version of Ant). Stefan