Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 69750 invoked from network); 19 Jun 2002 21:37:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Jun 2002 21:37:27 -0000 Received: (qmail 7105 invoked by uid 97); 19 Jun 2002 21:37:34 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 7089 invoked by uid 97); 19 Jun 2002 21:37:34 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 7077 invoked by uid 98); 19 Jun 2002 21:37:33 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Wed, 19 Jun 2002 22:36:25 +0000 Subject: Re: [CLI] -D a special case? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: John Keyes To: "Jakarta Commons Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.482) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have commited the first impl of the so called GnuParser (I'll take odds that this name will come back to bite me in the ass ;) Anyhoo, the unit test 'ApplicationTest' contains one test at the moment for 'ant'. I will add more test cases here soon. So if you want to have a look at the impl Bob you can let me know if its clear or not. -John K On Monday, June 17, 2002, at 11:10 , bob mcwhirter wrote: >> I am wondering if the -D= case should be >> treated as a special case. This would require some >> additional work for both the POSIX and GNU parsers. I >> think that as the -D is associated with setting system >> properties it should be treated as a special case. > > I have no problem using CLI now to deal with my -Dname > or -Dname=value case. I really think that this is something > that's best left up to the application. > >> I am +1 for only treating -D as a special case as it is >> a specific well defined special case. If someone can >> provide a good argument for "-[a-z]+", I will follow >> that route. > > I guess I'm confused. Will -D -always- set a java System > property? If so, I think that's overstepping our bounds. > > -bob > > > > -- > To unsubscribe, e-mail: unsubscribe@jakarta.apache.org> > For additional commands, e-mail: help@jakarta.apache.org> > -- To unsubscribe, e-mail: For additional commands, e-mail: