Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 28300 invoked from network); 10 May 2002 01:40:43 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 May 2002 01:40:43 -0000 Received: (qmail 16158 invoked by uid 97); 10 May 2002 01:40:42 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 16109 invoked by uid 97); 10 May 2002 01:40:41 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 16097 invoked by uid 98); 10 May 2002 01:40:41 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Thu, 09 May 2002 20:34:19 -0500 From: Eddie Bush Subject: Re: Flow-Control To: Ant Users List Message-id: <02db01c1f7c2$ce4c2f60$114f8942@adabbs.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-MSMail-Priority: Normal x-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 References: <002601c1f7bf$d06356f0$2364a8c0@fibowitz> X-Priority: 3 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yeah ... but I would really like it to branch on a value and not the presence of a variable ... ----- Original Message ----- From: "Erik Schalburg" To: "Ant Users List" Sent: Thursday, May 09, 2002 8:12 PM Subject: RE: Flow-Control > One of the greatest things about Ant is that you will never get laughed off > the list. > > > I have a build file that will, by changing a property definition > > value (delploy.forreal) from false to true, will allow me to > > select either a development or production deployment. I want to > > extend this concept to distributing a 'packed' (WAR) or unpacked > > application. My problem is that I don't see any flow-control > > mechanism that would let me route to one alternative or the other > > in my 'deploy' task. > > There are various ways to approach that... I'd suggest looking at the if and > unless attributes when declaring a target, as well as the param abilities in > . > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: