Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 97811 invoked from network); 6 Oct 2008 18:11:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 18:11:26 -0000 Received: (qmail 16485 invoked by uid 500); 6 Oct 2008 18:11:21 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 16450 invoked by uid 500); 6 Oct 2008 18:11:21 -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 16439 invoked by uid 99); 6 Oct 2008 18:11:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 11:11:21 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pons32@hotmail.com designates 65.54.246.151 as permitted sender) Received: from [65.54.246.151] (HELO bay0-omc2-s15.bay0.hotmail.com) (65.54.246.151) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 18:10:17 +0000 Received: from BAY113-W30 ([65.54.168.130]) by bay0-omc2-s15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Oct 2008 11:10:31 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_77ce4765-36bc-4d59-95c0-dfa1cd6476df_" X-Originating-IP: [204.16.155.197] From: Rez To: Ant Users List Subject: My War File Date: Mon, 6 Oct 2008 11:10:30 -0700 Importance: Normal In-Reply-To: <19827268.post@talk.nabble.com> References: <19827268.post@talk.nabble.com> MIME-Version: 1.0 X-OriginalArrivalTime: 06 Oct 2008 18:10:31.0009 (UTC) FILETIME=[D1A2A510:01C927DE] X-Virus-Checked: Checked by ClamAV on apache.org --_77ce4765-36bc-4d59-95c0-dfa1cd6476df_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good morning everyone. =20 I would like to use the condition task in my build file within my war task.= The billing target calls the compile target and initiates the war task. = Depending on the environment=2C say QA=2C I would like the zipfileset task = to be executed=2C otherwise excluded. =20 1. I'm not sure if I understand the description of the condition task corre= ctly=2C it's like really bad English. I'm also stuck and don't know the cor= rect syntax for the arg task sandwich between my and's. =20 2. I'm not sure if nesting the condition task within a war task is supporte= d. =20 I currently call 4 different targets in my build file to generate a war fil= e for each env. The targets vary by just one zipfileset task. So instead o= f having and maintaining 4 targets=2C I'd like to combine them into 1 targe= t and depending on a property or flag=2C have the correct war file generate= d per environment. = = =20 =20 Thanks for all your help. =20 Rez _________________________________________________________________ Stay up to date on your PC=2C the Web=2C and your mobile phone with Windows= Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/= --_77ce4765-36bc-4d59-95c0-dfa1cd6476df_--