Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 23337 invoked from network); 7 Jun 2006 12:23:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2006 12:23:18 -0000 Received: (qmail 19712 invoked by uid 500); 7 Jun 2006 12:23:14 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 19676 invoked by uid 500); 7 Jun 2006 12:23:14 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 19665 invoked by uid 99); 7 Jun 2006 12:23:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 05:23:14 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 82.138.226.220 is neither permitted nor denied by domain of t.p.ellison@gmail.com) Received: from [82.138.226.220] (HELO dublin.purplecloud.com) (82.138.226.220) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 05:23:11 -0700 Received: (qmail 13915 invoked from network); 7 Jun 2006 13:24:39 +0100 Received: from blueice2n1.uk.ibm.com (HELO ?9.20.183.172?) (195.212.29.75) by smtp-dublin.purplecloud.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 7 Jun 2006 13:24:39 +0100 Message-ID: <4486C519.7020407@gmail.com> Date: Wed, 07 Jun 2006 13:22:49 +0100 From: Tim Ellison User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [tools] I want to implement keytool - have a question References: <25deb7630606070401p11b45394k15b0e3f0417c43dd@mail.gmail.com> In-Reply-To: <25deb7630606070401p11b45394k15b0e3f0417c43dd@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Anton Rusanov wrote: > Hello. > I looked through Harmony code and I think I can implement the Keytool for > the project using existing classes. I've already played with the thing and > it doesn't seem to be very hard to do. I'm going to create a couple of > files > with stubs and gradually replace stubs with implementation using patches. Great. > And I have a question. What should I do to make the keytool run with the > launcher being developed here? Define the class org.apache.harmony.tools.keytool.Main which will be packaged into tools.jar. It should have a public static void main(String args[]) which will be passed the command-line arguments that were given to the keytool launcher. (Of course, you can develop & test your code by running that main() directly from a regular launcher in the IDE too) Sounds like the incentive I needed to hook in the tools build . Regards, Tim -- Tim Ellison (t.p.ellison@gmail.com) IBM Java technology centre, UK. --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org