Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 62243 invoked from network); 15 May 2007 03:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2007 03:26:19 -0000 Received: (qmail 63905 invoked by uid 500); 15 May 2007 03:26:25 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 63362 invoked by uid 500); 15 May 2007 03:26:24 -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 63350 invoked by uid 99); 15 May 2007 03:26:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 20:26:24 -0700 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 stepan.mishura@gmail.com designates 64.233.162.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 20:26:16 -0700 Received: by nz-out-0506.google.com with SMTP id j2so2005176nzf for ; Mon, 14 May 2007 20:25:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; 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:content-transfer-encoding:content-disposition:references; b=sRPZ9iuisFcI+UeOE3I4IcGSQP6JVrPfl/hWLdcBGc77I2KguAoPMxbAvovYWfkY+U5z2MJGhQSJo4zcdT8meVrfZ3aoawfGgpSsYDssmvclGEI7y7O1Lk3+bYDu0NatCCgIpIfvoW2EHjllG8h2eBHm9O4TTCNpNz7FkMvvTWs= 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=dDwq3LxW7ATH4zJOaiQ76RQBHlomumEc2H9nf5MKJ1uX6mK11PDssBDS04MMof7h6a1q2IsFIR40r7CI5GfDc4Hm8PRdU3H13fVDOIfHXp/+RVtpBZ0plxIFm1VhPj9s6vdw88rwora+sjutacSAMRs4Nn8aOS/z3kiF09W3nWw= Received: by 10.65.248.19 with SMTP id a19mr11655426qbs.1179199556083; Mon, 14 May 2007 20:25:56 -0700 (PDT) Received: by 10.64.76.10 with HTTP; Mon, 14 May 2007 20:25:55 -0700 (PDT) Message-ID: <6e47b64f0705142025x3628d588t360e699cffeeea77@mail.gmail.com> Date: Tue, 15 May 2007 10:25:56 +0700 From: "Stepan Mishura" To: dev@harmony.apache.org Subject: Re: [tools][launcher] Where should the launcher code reside? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4639CE2D.6070104@gmail.com> <6e47b64f0705040237g203f9451sb9aad20f8b0337b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 5/14/07, Gregory Shimansky wrote: > Ivan Popov wrote: > > Gregory, > > > > Today jdktools build depends on classlib and drlvm builds. Adding one > > more dependency between jdktools and classlib builds will lead to a > > cyclic dependency, which should be resolved somehow. > > > > I think the most simple way technically is to leave launcher code in > > classlib component. > > Thanks for pointing this. I didn't know that jdktools depends on > classlib and drlvm. To break the cycle perhaps we'll have to move some > common stuff to common_resources. > As far as I remember common_resources 'subproject' was created for dealing with external dependencies that common for classlib, drlvm, jdktools. So from my POV it is not the right place for launcher. -Stepan. > > On 5/14/07, Gregory Shimansky wrote: > >> Stepan Mishura wrote: > >> > I see the next argument for moving the launcher to jdktools - this > >> not > >> > a java library code indeed, it's just utility code that launches java. > >> > But moving it to jdktools will force everybody to work with HDK. If > >> > everybody think that this is 'right' way then I'm OK with it (I mainly > >> > work with separate classlib and DRLVM workspaces and I find it quite > >> > convenient) > >> > >> I am catching up with emails after vacations and just saw this thread. I > >> am +0.5 to java launcher in jdktools and I think that the working > >> process could be organized without having to build full HDK every time. > >> > >> Just look at how drlvm is built, it always requires to compile classlib > >> first and no one complains about it. If someone works primary on drlvm, > >> classlib may be compiled just once in a while and there is no big reason > >> to rebuild it all the time when VM is built. > >> > >> The same could be done with jdktools. Then the sequence of building > >> separate packages would be the following: jdktools -> classlib -> vm. > >> Classlib build script would copy files from the deploy directory of > >> jdktools and VM build script would copy compiled classlib to its deploy > >> directory. > >> > >> Classlib developers would need to compile jdktools just once in a while > >> (updates to the launcher are quire rare anyway) and then compile just > >> classlib which would take java executable from jdktools. > >> > >> Anyway, I agree with Tim's comment that it is not the most important > >> thing to do. > >> > >> > BWT, how many people use hdk build only? > >> > > >> > Also if we move it to jdktools we need to adjust build-and-test infra > >> > that it requires time and efforts. But I think this in turn should > >> > unify (i.e. simplify) the infra logic - all testing suites will depend > >> > on hdk build only (not on classlib + drlvm (+ hdk) as currently we > >> > have) > >> > > >> > Thanks, > >> > Stepan. > >> > > >> >> What do you think? > >> >> > >> >> Tim > >> > >> -- > >> Gregory > -- > Gregory