Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 16268 invoked from network); 3 Sep 2004 17:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Sep 2004 17:44:25 -0000 Received: (qmail 88974 invoked by uid 500); 3 Sep 2004 17:43:49 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 88838 invoked by uid 500); 3 Sep 2004 17:43:48 -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 88737 invoked by uid 99); 3 Sep 2004 17:43:47 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [66.163.170.245] (HELO web20422.mail.yahoo.com) (66.163.170.245) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Sep 2004 10:43:43 -0700 Message-ID: <20040903174341.37401.qmail@web20422.mail.yahoo.com> Received: from [65.247.233.98] by web20422.mail.yahoo.com via HTTP; Fri, 03 Sep 2004 10:43:41 PDT Date: Fri, 3 Sep 2004 10:43:41 -0700 (PDT) From: Matt Benson Subject: Re: DO NOT REPLY [Bug 28046] - Ant includes JARs in working directory To: Ant Developers List In-Reply-To: <4138A1CA.4090104@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N My opinion is already on record on the bugrep--I am in favor of this change. -Matt --- Peter Reilly wrote: > Dominique Devienne wrote: > > >>From: Peter Reilly [mailto:peterreilly@apache.org] > >>Exactly, -cp could be the the name to use instead > of -lib > >> > >> > >"$CLASSPATH". > > > > > >>-cp would not a user visible option, it would be > set in the the > >>ant[.bat] file > >>and removed in Launcher.java. > >> > >> > > > >I'm not following here. -cp should be an option of > Launcher.java > >just like -lib, and both would be public. > > > >The only difference between the two would be that > -cp would leave > >Directories as-is, as opposed to the -lib behavior > of adding all > >JARs in that directory. > > > >Both options are useful. > > > >Or maybe I don't understand what you mean by > 'removed' in > >Launcher.jar. -lib is also 'removed' I guess, it's > just used > >To set a classloader, and not passed to Main.java. > Is that > >what you meant? --DD > > > > > > By user visible I meant that ant -cp x:y:z would not > be supported by the > ant[.bat]. By support, I mean x:y:z replacing > CLASSPATH in the > java call. It would be a nice to have, but would > need support by the > the script (sh and bat), in detecting -cp, setting > LOCALCLASSPATH > and CLASSPATH correctly. > > For the point of view of Launcher.java, the > behaviour would be as you > describe, except that Launcher.java would make sure > that only one -cp is > used. > > > Peter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > dev-unsubscribe@ant.apache.org > For additional commands, e-mail: > dev-help@ant.apache.org > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org