Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 2160 invoked from network); 13 Aug 2004 20:02:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 20:02:21 -0000 Received: (qmail 87957 invoked by uid 500); 13 Aug 2004 20:01:44 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 87831 invoked by uid 500); 13 Aug 2004 20:01:43 -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 87684 invoked by uid 99); 13 Aug 2004 20:01:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [207.149.72.5] (HELO tippecanoe.cobaltgroup.com) (207.149.72.5) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 13:01:38 -0700 Received: from [192.168.20.43] (wks20-43.cobaltgroup.com [192.168.20.43]) by tippecanoe.cobaltgroup.com (Switch-2.2.8/Switch-2.2.6) with ESMTP id i7DK1aa31271 for ; Fri, 13 Aug 2004 13:01:36 -0700 Message-ID: <411D1E22.2070000@germane-software.com> Date: Fri, 13 Aug 2004 13:01:38 -0700 From: Dale Anson User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: ant -projecthelp not working under certain conditions... References: <200408131618.i7DGIE3m010063@barrierb241.nike.com> In-Reply-To: <200408131618.i7DGIE3m010063@barrierb241.nike.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archived: msg.XXw0ivBF@tippecanoe.cobaltgroup.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Rob, Also look at bug 27722. There are other issues with -projecthelp, it might be good to roll them all up together. Dale Anderson, Rob (Global Trade) wrote: > 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=environment 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=something -p'. I would prefer that 'ant -p' work as without having to add the -Denv=something 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org