Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 20247 invoked from network); 1 Nov 2007 08:22:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 08:22:45 -0000 Received: (qmail 51560 invoked by uid 500); 1 Nov 2007 08:22:32 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 51529 invoked by uid 500); 1 Nov 2007 08:22:31 -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 51520 invoked by uid 99); 1 Nov 2007 08:22:31 -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:22:31 -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.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 08:22:35 +0000 Received: by py-out-1112.google.com with SMTP id u77so829025pyb for ; Thu, 01 Nov 2007 01:22:11 -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=MrzEw03ChsbfUbdpT37iZshgT5Mi+fX7lBb5g9ar2Qo=; b=R9pT4FCahrziAbyDr8Fv1UvHZiYvi1ukagGbqfjzIdvwAT8smXJUuIcEdW3fiP+kdP9ArIKS658yAW+UDiNmlMNpxtTeLL53Oz1wSR4NyCleHtuALG4ckLoixKER5BO1FUtwbqtKewR6WBWydZKj06bra2ZlFxKf/w/+HqI3NcE= 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=nuyX0/XDPAvjxbEq1aBCCzcYAkZBxmD/HJC6wOayZICNjIt+iQbppWTrBjzCfxTyOEK9VnDyEt/yroqvyC7rkdP+qqB9tlr4sOaNm95Btc2QsuY0NPsH78RHYqu4Hu0rOrl4gKz1uO1eJ4ZqRg0qHcWWXK67FBQ9fFYZ/AKrHE0= Received: by 10.65.73.16 with SMTP id a16mr3301151qbl.1193905331411; Thu, 01 Nov 2007 01:22:11 -0700 (PDT) Received: by 10.65.235.19 with HTTP; Thu, 1 Nov 2007 01:22:11 -0700 (PDT) Message-ID: <473c46620711010122kddeccbdte05892ef88c1df0e@mail.gmail.com> Date: Thu, 1 Nov 2007 16:22:11 +0800 From: "Spark Shen" To: dev@harmony.apache.org Subject: Re: [buildtest] Add a task for BTI to create a new adaptor from a template In-Reply-To: <94d710af0710310307y32265a26td339aed7b0b1e931@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7765_25298938.1193905331398" References: <94d710af0710310307y32265a26td339aed7b0b1e931@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7765_25298938.1193905331398 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline See my comments inline. 2007/10/31, Sean Qiu : > > To add a task for BTI, we have to rewrite some scripts whose start are > similar. > So i think we can add a new task "create-adaptor" for BTI. I think its a good practice to remove duplication, and safe unnecessary manual work. I have create a > new jira for it [1]. > we can use this task like: > > $>ant create-adaptor -Dadaptor=hello > > This task can create a new adaptor directory in ${trunk}/adapotrs named > after "hello" from the command line. > It can supply default settings from template files, such as generating > summary, getting dependecy. > We can put adaptor-template.xml and parameters-template.xml in > ${trunk}/script/template. > The task will replace the @SUITE@ at the template files to real suite > name. Sounds a good idea. You can give a brief instruction on our wiki page. Recently, I am writing scenario test for ldap service provider. And I plan to integrate the test case into BTI, your tool will be valuable to me. What's more, we can supply more template files for different kinds of test > suites. > BTI developer can make advantage of these template files. > > Any thoughts? Additions? Comments? > > [1] https://issues.apache.org/jira/browse/HARMONY-5053 > > -- > Sean Qiu > China Software Development Lab, IBM > -- Spark Shen China Software Development Lab, IBM ------=_Part_7765_25298938.1193905331398--