Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 89781 invoked from network); 12 Feb 2003 21:18:26 -0000 Received: from unknown (HELO mail.gfs.com) (208.240.15.14) by daedalus.apache.org with SMTP; 12 Feb 2003 21:18:26 -0000 Received: from GFS-MTA by mail.gfs.com with Novell_GroupWise; Wed, 12 Feb 2003 16:18:17 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Wed, 12 Feb 2003 16:18:09 -0500 From: "Kyle Adams" To: Subject: Re: does something like this exist? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Typically, your situation is handled something like this: ... Thus, target B will only run if someproperty is set to "true", "yes", or "on". I try to put the conditional (in target A in the example above) in my init target, so it will run at the beginning of any build. Kyle >>> felicev@lycos.com 02/12/03 04:01PM >>> Hello all, Just wondering if something like this ( see below ) exists with the latest released verison of Ant ( 1.5.1 ). Is it possible to check for a property .. and if it's true then run a certain target? I can easily check for a property to see if it's true .. but was unable to find any documentation that would guide me to run a target if that property was true. Any help will be greatly appreciated :) Thanks In Advance, Felice _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org