From dev-return-59806-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Fri Aug 13 16:18:24 2004 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 6167 invoked from network); 13 Aug 2004 16:18:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 16:18:24 -0000 Received: (qmail 93150 invoked by uid 500); 13 Aug 2004 16:18:21 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 93110 invoked by uid 500); 13 Aug 2004 16:18:20 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 93097 invoked by uid 99); 13 Aug 2004 16:18:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [146.197.27.40] (HELO barrierb241.nike.com) (146.197.27.40) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 09:18:16 -0700 X-Server-Uuid: F122D6CD-24F0-4253-8986-549FB7942DF9 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: ant -projecthelp not working under certain conditions... Date: Fri, 13 Aug 2004 09:18:03 -0700 Message-ID: <200408131618.i7DGIE3m010063@barrierb241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ant -projecthelp not working under certain conditions... Thread-Index: AcSBURvd882gCucqRG23GxT3IDoMYg== From: "Anderson, Rob (Global Trade)" To: dev@ant.apache.org X-OriginalArrivalTime: 13 Aug 2004 16:18:03.0659 (UTC) FILETIME=[1C137DB0:01C48151] X-WSS-ID: 6D023637513242-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have an issue with the use of ant -projecthelp. I have a build file = that will load properties from a file based on the value of a property = passed in on the command line. Here is a little build file to illustrate = my point... Please specify the environment on the command line... ant -Denv=3Denvironment target Now with the build file above running 'ant -p' shows no output. In order = to see the available targets I must run 'ant -Denv=3Dsomething -p'. I = would prefer that 'ant -p' work as without having to add the = -Denv=3Dsomething option. If that is not possible, it would be great if = the fail task reported the failure so the user is not wondering why = there is no output from 'ant -p'. I would like to open a change request = for this issue, but I would like to get some consensus from the = developers on the best way to address this issue. The two options I have = come up with are: a) Make 'ant -p' work under these conditions (preferred) b) Make it so the fail task reports the failure Thoughts? Thanks, _________________________________________________________________ Robert Anderson Sr. System Engineer Nike - Global Trade IT (503) = 532-6803 d "Outside of a dog, a book is probably man's best friend; inside of dog, it's too dark to read." -Groucho Marx --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org