Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 41559 invoked by uid 500); 4 May 2001 06:08:27 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 41545 invoked from network); 4 May 2001 06:08:27 -0000 Message-ID: <20010504060834.50508.qmail@web13406.mail.yahoo.com> Date: Thu, 3 May 2001 23:08:34 -0700 (PDT) From: Diane Holt Subject: Re: Ant and Conditional Expressions1 To: ant-user@jakarta.apache.org In-Reply-To: <017901c0d464$4c84e5d0$9bc0a8c0@astracon.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --- Adam Flegman wrote: > Thanks for the idea. Its a pity that something simple like and if > expression isnt part of the standard ant control flow. An if-expression is -- just not a test-for-equality. It will likely become available with Ant2, though. > The source code might come in handy if it is easy enough to find. See: http://jakarta.apache.org/site/cvsindex.html and follow the instructions for pulling the source from CVS (module name is jakarta-ant). > Is there a tool that you can call to dynamically check the current > running environment and list out all the param value pairs? Such a tool > would greatly aid in debugging. I don't know of one, but there's the -debug flag. You'll get substantially more than just the name-value pairs, so you'll probably want to redirect the output to a file (you can use -logfile , or just do a redirect). And note: You'll only get the properties that have actually been set, so any properties you have defined inside targets that you don't execute won't be included. Diane ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/