Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 17538 invoked by uid 500); 30 Jul 2003 17:09:45 -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 17527 invoked from network); 30 Jul 2003 17:09:44 -0000 Received: from unknown (HELO empburexch.burlington.emptoris.com) (63.111.224.162) by daedalus.apache.org with SMTP; 30 Jul 2003 17:09:44 -0000 Received: by empburexch.burlington.emptoris.com with Internet Mail Service (5.5.2653.19) id ; Wed, 30 Jul 2003 13:07:37 -0400 Message-ID: <15717BB71A5CD411A01600508BDCC2E2021C10ED@empburexch.burlington.emptoris.com> From: "Ciramella, EJ" To: 'Ant Users List' Subject: RE: does not support 'if' attribute Date: Wed, 30 Jul 2003 13:07:34 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C356BD.11CE8260" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C356BD.11CE8260 Content-Type: text/plain; charset="iso-8859-1" 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 ------_=_NextPart_001_01C356BD.11CE8260--