Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 95942 invoked from network); 1 Nov 2007 07:59:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 07:59:46 -0000 Received: (qmail 29686 invoked by uid 500); 1 Nov 2007 07:59:33 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 29602 invoked by uid 500); 1 Nov 2007 07:59:33 -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 29593 invoked by uid 99); 1 Nov 2007 07:59:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 00:59:33 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of smallsmallorgan@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 07:59:36 +0000 Received: by py-out-1112.google.com with SMTP id u77so819107pyb for ; Thu, 01 Nov 2007 00:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=k9foF9olOW05goLyQk8+290qcAl/lsQb4Sr1mEkRHzA=; b=IQepVd47RSquDMMLAdaLYfeXFRncKFeR3NDcpcMFBQFMe8057X+a6Hypa6ipwrWvUawHuikRf68TTECLwf7pEAegqNA6FIm4qlaLdAvAguMpuRoNJ6kwa2RpD2Kuh0OP0iC2n3JbXzmarksvCJ4a/uGbGwjXlYPrPokZ4M+gD30= 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:references; b=dWl1szkJXj15MfdGior6b70NzslRkqPTpht+yrAiqzFuGPDuxpJ3MoEOgEucxZo5NBCnbV09GrAqfVIC9O4Thi0CVTi/XFsTTnWnFuv7AJF4Mo1QJxRLtl8I//gOe3RDEHnjq5dSQ+yCcx8vvJ78cXEzPBtvhJr9bUNPP55ggtQ= Received: by 10.64.242.5 with SMTP id p5mr3205928qbh.1193903954026; Thu, 01 Nov 2007 00:59:14 -0700 (PDT) Received: by 10.65.235.19 with HTTP; Thu, 1 Nov 2007 00:59:13 -0700 (PDT) Message-ID: <473c46620711010059w2cbd3a0l4ee570f1d699d69a@mail.gmail.com> Date: Thu, 1 Nov 2007 15:59:13 +0800 From: "Spark Shen" To: dev@harmony.apache.org Subject: Re: [buildtest] Download dependence according to OS type In-Reply-To: <6e47b64f0711010055j8809b8al255c2036845b9e6a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7704_5472821.1193903954013" References: <94d710af0710312316x3f8b2cfatc7497f690706aaea@mail.gmail.com> <6e47b64f0711010055j8809b8al255c2036845b9e6a@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7704_5472821.1193903954013 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/11/1, Stepan Mishura : > > On 11/1/07, Sean Qiu wrote: > > Hi, BTI gurus > > > > As we know, some tests need to start a server before process testing, > such > > as our jetty scenario test. > > The question is sometimes the server isn't always implemented by java. > It > > may be platform-dependent. > > > > Shall we add a new parameter to the dependence module of BTI? Such as > > > > > > > url="http://host.of/my-dependency.zip" > > md5="87A617D7E65979AE01B5ACE4649EB40B" > > dir="my-dep-dir" > > inc="*/lib/*.jar" > > os="windows" > > /> > > > > > > > > > url="http://host.of/my-dependency.zip" > > md5="87A617D7E65979AE01B5ACE4649EB40B" > > dir="my-dep-dir" > > inc="*/lib/*.jar" > > os="linux" > > /> > > > > > > In this case, BTI can download only one of them according to the current > > operating system. > > Does it make sense? Or just find a java-implemented > platform-independent > > alternative? > > I think it makes sense to add it. I also thought what that and what > kind of parameter should be added. I'd propose adding *if* condition > to the current scheme. I think it is more flexible, for example > > url="http://host.of/my-dependency.zip" > md5="87A617D7E65979AE01B5ACE4649EB40B" > dir="my-dep-dir" > inc="*/lib/*.jar" > if="is.64bit" > /> > > Thanks, > Stepan. > > > > > -- > > Sean Qiu > > China Software Development Lab, IBM > > > +1 -- Spark Shen China Software Development Lab, IBM ------=_Part_7704_5472821.1193903954013--