Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 90393 invoked by uid 500); 23 Dec 2001 10:39:47 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 90382 invoked from network); 23 Dec 2001 10:39:47 -0000 Sender: burton@universe.yi.org To: general@xml.apache.org Cc: shane_curcuru@lotus.com, shane_curcuru@us.ibm.com Subject: Re: [ANN] xml-commons-which: new Which utility to replace EnvironmentCheck References: <20011222223123.95072.qmail@web12103.mail.yahoo.com> From: burton@openprivacy.org (Kevin A. Burton) Date: 23 Dec 2001 02:39:54 -0800 In-Reply-To: <20011222223123.95072.qmail@web12103.mail.yahoo.com> Message-ID: <87itay5if9.fsf@universe.yi.org> Lines: 80 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shane Curcuru writes: > > ---- you burton@openprivacy.org (Kevin A. Burton) wrote ---- > > > Which is a General environment checking and version finding > service. > > Just a humble suggestion. Under *NIX the 'which' command is > used for finding > > the binary that would be executed if you were to execute the given > command. > > Indeed, that's precisely why I called it that - I thought it was a pretty good > Java analogy to the shell version. *NIX which finds the binary you'll get if > you say 'foo'; org.apache.env.Which finds the class you'll get if you say > 'foo'. Not the same thing, but then again commands in a shell are not the > same thing as statements in Java. 8-> http://relativity.yi.org/classman/ I wrote it a few years ago... Also supports a few more options: classman (0.0.3): Helps manage your classpath within Java Syntax: classman Prints out your current classpath in a readable manner classman --find [--all] Determines which entry in your classpath contains the given CLASSNAME. This can also be a package name. --all specifies to dump all matching classes. EXAMPLE: classman --find java.lang.Exception classman --findResource Runs ClassLoader.findResource on the parameter you provide. This can be useful for finding a class or resource within your VM if you think there may be a conflict.. EXAMPLE: classman --findResource java/lang/Exception.class classman --packages Determines the Java packages under the specified directory. > Anyways, along with the fact it's in a different package, it's also 'Which' as > opposed to 'which' so there shouldn't be any problem, unless you've aliased it > on WinXX... WinXXX?? I don't want to see what your screensaver looks like ;).. > Any more comments on it's Java design or functionality? I was hoping to keep > it simple enough to finish in my odd hours but pluggable enough to use for > most any xml or jakarta (or other) Java project. I will take a look. Kevin - -- Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burtonator@acm.org ) Location - San Francisco, CA, Cell - 415.595.9965 Jabber - burtonator@jabber.org, Web - http://relativity.yi.org/ For great justice. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE8JbR6AwM6xb2dfE0RApA3AJ4mckwo9RrHJwbOb0gNlwnLg5YIWwCgztnE Jcmrvzh+s56jXTf4JU569SE= =cPQ4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org