Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 32468 invoked from network); 19 Oct 2007 16:59:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 16:59:16 -0000 Received: (qmail 32764 invoked by uid 500); 19 Oct 2007 16:59:02 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 32743 invoked by uid 500); 19 Oct 2007 16:59:02 -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 32734 invoked by uid 99); 19 Oct 2007 16:59:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 09:59:02 -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 vladimir.k.beliaev@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; Fri, 19 Oct 2007 16:59:05 +0000 Received: by py-out-1112.google.com with SMTP id u77so1136844pyb for ; Fri, 19 Oct 2007 09:58:44 -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=JdQCR76paTWOvkujK1WXEwcBB8se0uU6iggkfb2zYXY=; b=p2jLGBMJUGqngS/5+RmHex1Bls90KifV7YPAG74/IWoP/HbnkiaL51jCnnZPv9Y/56/wccVpvgxPUNvwXcqNaDViLmz8Caejc4bEZHkZN9IfTo6bMXFlRaAMF2zVTlUj9qqcAW2R00MuMwmtQnZVpIRVzEzIxWBcicA/bZ3EroM= 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=BgX6A6vUYDffOdQ9LzIoZT2gzkTYjdQquLNxqQ52G1ypRoUeOO/xgKvNQC/DiyoShH9shBKee081vfilz3KjZHIpnbqG7n8jST0aOa19BdIHGvy258dXLjGI/P7aEaRGJqUrABdieqJOBoq9c+DrDhtoVK3waRK6VrmFwKCz1D8= Received: by 10.35.82.16 with SMTP id j16mr2262599pyl.1192813123922; Fri, 19 Oct 2007 09:58:43 -0700 (PDT) Received: by 10.35.39.6 with HTTP; Fri, 19 Oct 2007 09:58:43 -0700 (PDT) Message-ID: <587698b80710190958t4069b132vaeac28a53473e353@mail.gmail.com> Date: Fri, 19 Oct 2007 20:58:43 +0400 From: "Vladimir Beliaev" To: dev@harmony.apache.org Subject: Re: [build] jdktools skips a fetch-depends for federated build In-Reply-To: <200710191421.l9JELTTn011609@d06av04.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9987_29488115.1192813123913" References: <587698b80710190106t23b40b17mc016668fac133c74@mail.gmail.com> <20071019083648.5FAA2724960@athena.apache.org> <587698b80710190422h147d77c2t8c801d793822c3c1@mail.gmail.com> <200710191421.l9JELTTn011609@d06av04.portsmouth.uk.ibm.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9987_29488115.1192813123913 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/10/19, Mark Hindess : > > > On 19 October 2007 at 15:22, "Vladimir Beliaev" < > vladimir.k.beliaev@gmail.com> > wrote: > > > > Hello, Mark, > > > > > ant -Dauto.fetch=true > > > > > > It should work if you do this? > > > > I've missed this. Thanks a lot for the note. > > > > > seem overly complicated and probably can be replaced by a single > > > target: > > > > Yes, until this "inheritall="false"" is inserted not just for fun... > > Sorry, I don't understand. I suggested replacing two: > > > > calls with a single: > > > > call so I don't see the problem. Can you explain what you think I've > missed? I do not see the problem too. I've missed inheritall="false" in first tag. Looking at the similar calls for classlib_fetch_depends I see that > what is actually wrong is that the "fetch_jdktools_libs" target is not > supposed to have the if="auto.fetch" attribute. (It is supposed to be > unconditional so a user can invoke it.) This is an excellent example of > why it is helpful to see which tasks are supposed to be called by a user > and which are not. > > > > For example adopting the convention of beginning non-api/-user > > > targets with hyphen so it is easier to read > > > > Yes, code clean up work is really fun especially for one who is able > > to commit it immediately... > > I'll reply to this in another note but, assuming I understand you > correctly, the short version is "I strongly disagree". I believe your assumption is not correct. Looks like my phrase is confusing. Sorry. Thanks Vladimir Regards, Mark. > 2007/10/19, Mark Hindess : > > > > > > For licensing reasons, fetch depends is only executed if you run: > > > > ant -Dauto.fetch=true > > > > It should work if you do this? > > > > Having said that I think there is room for improvement in the build.xml. > > For example, these targets: > > > > > > > > > > > > > > > > > > > inheritall="false" > > > > > > > > > > > seem overly complicated and probably can be replaced by a single target: > > > > > > > target="fetch-depends" inheritall="false" > > > > > > > > > > > Unless I'm missing something? This build.xml really needs some cleanup. > > (For example adopting the convention of beginning non-api/-user targets > > with hyphen so it is easier to read.) Maybe I'll take a look later. > > > > Regards, > > Mark. > > > > On 19 October 2007 at 12:06, "Vladimir Beliaev" < > > vladimir.k.beliaev@gmail.com> wrote: > > > > > > Hello, > > > > > > I come across the same issue twice - the federated build skips fetching > > > dependencies for jdktools. > > > > > > I mean I did a build just by simple 'ant' command from the root > > directory of > > > federated workspace: > > > > > > /tmp/trunk $ pwd > > > /tmp/trunk > > > /tmp/trunk $ ls -1 > > > working_classlib/ > > > working_jdktools/ > > > working_vm/ > > > > > > /tmp/trunk $ ant > > > > > > BUILD FAILED... > > > > > > > > > And this can be fixed by: > > > > > > /tmp/trunk $ cd working_jdktools > > > /tmp/trunk/working_jdktools $ ant fetch-depends > > > > > > Is it a known issue? > > > > > > I double check trunk/build.xml - looks like all tags for jdttools's > > > fetch-depends are in place... So it may be my local issue... That's why > > > I ask. > > > > > > -- > > > Vladimir Beliaev > > > Intel Middleware Products Division -- Vladimir Beliaev Intel Middleware Products Division ------=_Part_9987_29488115.1192813123913--