Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 28438 invoked by uid 500); 30 Jul 2003 18:00:46 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 28427 invoked from network); 30 Jul 2003 18:00:46 -0000 Received: from h000.c001.snv.cp.net (HELO c001.snv.cp.net) (209.228.32.114) by daedalus.apache.org with SMTP; 30 Jul 2003 18:00:46 -0000 Received: (cpmta 16260 invoked from network); 30 Jul 2003 11:00:50 -0700 Received: from 192.18.128.13 (HELO ?129.147.86.73?) by smtp.register-admin.com (209.228.32.114) with SMTP; 30 Jul 2003 11:00:50 -0700 X-Sent: 30 Jul 2003 18:00:50 GMT User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Wed, 30 Jul 2003 12:00:49 -0600 Subject: Re: does not support 'if' attribute From: Billy Bacon To: Ant Users List Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks! On 7/30/03 11:59 AM, "David McTavish" wrote: > > > > > > > > > > > d. > > -----Original Message----- > From: Billy Bacon [mailto:billy.bacon@thirty3.net] > Sent: Wednesday, July 30, 2003 1:56 PM > To: Ant Users List > Subject: Re: does not support 'if' attribute > > > Not sure what you mean here EJ :-/ > > Could you explain a little bit more? What does expressly create the file > mean? > > Do you mean create a target which contains an 'if' attribute and call the > target from my original target? Then the target which contains the 'if' > attribute would decide if it executes its tasks or not? > > - Billy - > > > On 7/30/03 11:07 AM, "Ciramella, EJ" wrote: > >> I'd have a target to expressly create the file. This target would have an >> "if" attribute with a value of the property that you set (or did not set) >> earlier. >> >> -----Original Message----- >> From: Billy Bacon [mailto:billy.bacon@thirty3.net] >> Sent: Wednesday, July 30, 2003 1:04 PM >> To: Ant Users List >> Subject: does not support 'if' attribute >> >> >> Does anyone have a work-around for this? I want to create a file on the >> system 'if' a property has been set within my ant target. >> >> For example, In my target I have a task that sets a failed > property >> if one or more unit tests fail. Within the same target I want to create a >> file on the system (via the task) if and only if the failed > property >> is set. I also tried to use the task but this too doesn't support > the >> 'if' attribute. >> >> Any ideas? >> >> - Billy - >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org