Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 2110 invoked from network); 1 Nov 2007 08:01:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 08:01:22 -0000 Received: (qmail 30602 invoked by uid 500); 1 Nov 2007 08:01:08 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 30565 invoked by uid 500); 1 Nov 2007 08:01:08 -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 30555 invoked by uid 99); 1 Nov 2007 08:01:08 -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 01:01:08 -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 sean.xx.qiu@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 08:01:11 +0000 Received: by py-out-1112.google.com with SMTP id u77so819841pyb for ; Thu, 01 Nov 2007 01:00:50 -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=vzieWPzs1TH0rFXpvOrZAipWVJ0Bw+IIMifayFu5MIc=; b=q0hjYWWvqjSKCFfR3eLth3NuxW0fwwcru0Pv2NNKoyvJI6A0iQsOtxhkyMj5tTnQjXvn8WkWZefwB8Ztjh2HO+ahRn1MYsaNoOx7X4SGPvjeyMwXioh1Hgc/J7mU/81OZj25Nov0QG4mCFqQfL7OoL+Om3A4wjNukH1iFEIKxaM= 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=XfktxyLBlCcPZRlbO5jDne6BwkPpZAPC5/0mngW8G/w5rwN/rfg0r6gCv4jvZKpbrtdx9vplcHOuBfM4GLnrbVkm2HWKMKtq+OPOTwIu5vdQctINwGXjE+vCRgQnus4hNeDZCTgwvlSeHZmxAtoIfI0p2AHDwTCby8cORSdFAu8= Received: by 10.35.51.19 with SMTP id d19mr378094pyk.1193904050234; Thu, 01 Nov 2007 01:00:50 -0700 (PDT) Received: by 10.35.86.1 with HTTP; Thu, 1 Nov 2007 01:00:50 -0700 (PDT) Message-ID: <94d710af0711010100l7815c7dcj195acba554e1d85a@mail.gmail.com> Date: Thu, 1 Nov 2007 16:00:50 +0800 From: "Sean Qiu" 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_13362_310200.1193904050225" References: <94d710af0710312316x3f8b2cfatc7497f690706aaea@mail.gmail.com> <6e47b64f0711010055j8809b8al255c2036845b9e6a@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13362_310200.1193904050225 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline +1, i will try to make a patch for it. 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 > > > -- Sean Qiu China Software Development Lab, IBM ------=_Part_13362_310200.1193904050225--