Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 83703 invoked from network); 7 Feb 2007 03:58:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 03:58:41 -0000 Received: (qmail 34138 invoked by uid 500); 7 Feb 2007 03:58:42 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 34105 invoked by uid 500); 7 Feb 2007 03:58:42 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 34096 invoked by uid 99); 7 Feb 2007 03:58:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 19:58:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of richard.liangyx@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 19:58:33 -0800 Received: by ug-out-1314.google.com with SMTP id z36so68945uge for ; Tue, 06 Feb 2007 19:58:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PSPgAy0cOmcE6f5rg6YL7Dem6xWyOxR13TZ5s+mdDPFnoKPTEs3W8oi/H8p+R5JpT0d7pwm6BUeQze/4/SOIl/WF9v6QhTCsqqeGYd9VwWTxRzWB7oEC73MD99kQ47F7TcR85inNO7aRRhtdKbkj0mgAr5Pk+jdo7S7CYxI/CTQ= Received: by 10.78.164.13 with SMTP id m13mr2048650hue.1170820691251; Tue, 06 Feb 2007 19:58:11 -0800 (PST) Received: by 10.78.184.19 with HTTP; Tue, 6 Feb 2007 19:58:11 -0800 (PST) Message-ID: Date: Wed, 7 Feb 2007 11:58:11 +0800 From: "Richard Liang" To: dev@harmony.apache.org Subject: Re: [classlib] How to configure Eclipse to refer to the jars in "depends" In-Reply-To: <45C87193.70909@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <636fd28e0702060031o619775f9q3dd3ae112b2fc85@mail.gmail.com> <45C87193.70909@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes. it's good to put jetty JAR into deploy/build/test. Thanks a lot. Now I have several questions: 1) How to refer to the jars in "deploy/build/test"? As Paulex suggested, defining another Class Variable "HDK_HOME" may be a good option. But there may be problems for support.jar. Because if you also check out the support project, you will have duplicate support in build path: one is added through Class Variable, another one is in Plug-in dependencies. 2) Do you think we shall put luni-kernel-stubs.jar and security-kernel-stubs.jar into deploy/build instead of deploy/jdk/jre/lib/boot/? Any suggestion? Thank a lot. Best regards, Richard On 2/6/07, Tim Ellison wrote: > No, we don't want a new dependency on that directory or you will break > the ability to develop a single module against the HDK [1]. > > The jetty JAR should be copied into the HDK (in deploy\build\test > alongside the other test support JARs). > > [1] http://harmony.apache.org/hdk.html > > Regards, > Tim > > > > Richard Liang wrote: > > Thanks a lot. I will use the "Classpath Variable" solution. But I'm > > always open to new > > > > On 2/6/07, Alex Blewitt wrote: > >> That seems like a reasonable solution, and also what's generally done > >> in projects where there is a known dependency structure. I'd say go > >> for it. > >> > >> Alex. > >> > >> On 06/02/07, Richard Liang wrote: > >> > Hello All, > >> > > >> > I'm going to write/enable some jetty based test cases for luni. And > >> > now there is a question in Eclipse. To compile the jetty based test > >> > cases, I have to add the jetty jars into luni's classpath. But the > >> > jetty jars are put into "depends" folder. To avoid using absolute > >> > path, I suggest we define a Classpath Variable "HARMONY_DEPENDS" which > >> > refers to "depends", then we use this Classpath Variable to look for > >> > the jars. The .classpath will contain entry like: > >> > > >> > >> path="HARMONY_DEPENDS/jars/jetty/jetty-6.0.0.jar"/> > >> > > >> > But the problem of this option is that Eclipse users have to define > >> > the "HARMONY_DEPENDS" manually when they set up a new Eclipse > >> > environment. > >> > > >> > Any comments/suggestion? Thanks a lot > >> > > >> > Best regards, > >> > -- > >> > Richard Liang > >> > China Development Lab, IBM > >> > > >> > > > > > -- Richard Liang China Development Lab, IBM