Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@locus.apache.org Received: (qmail 5760 invoked from network); 22 Jan 2009 18:17:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2009 18:17:15 -0000 Received: (qmail 84762 invoked by uid 500); 22 Jan 2009 18:17:15 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 84753 invoked by uid 500); 22 Jan 2009 18:17:15 -0000 Mailing-List: contact etch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: etch-dev@incubator.apache.org Delivered-To: mailing list etch-dev@incubator.apache.org Received: (qmail 84742 invoked by uid 99); 22 Jan 2009 18:17:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 10:17:15 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sccomer@cisco.com designates 171.68.10.87 as permitted sender) Received: from [171.68.10.87] (HELO sj-iport-5.cisco.com) (171.68.10.87) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 18:17:04 +0000 X-IronPort-AV: E=Sophos;i="4.37,307,1231113600"; d="scan'208";a="60570246" Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-5.cisco.com with ESMTP; 22 Jan 2009 18:16:43 +0000 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n0MIGhhS021660 for ; Thu, 22 Jan 2009 10:16:43 -0800 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n0MIGhN2011886 for ; Thu, 22 Jan 2009 18:16:43 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jan 2009 10:16:42 -0800 Received: from [127.0.0.1] ([10.89.17.227]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jan 2009 10:16:41 -0800 Message-ID: <4978B80A.3040607@cisco.com> Date: Thu, 22 Jan 2009 12:16:42 -0600 From: scott comer User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: etch-dev@incubator.apache.org Subject: Re: [vote] include fix in release 1.0.2 (ETCH-28) Examples do not build due to outdated ant files. References: <4978A0BE.7050808@cisco.com> In-Reply-To: <4978A0BE.7050808@cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 22 Jan 2009 18:16:41.0946 (UTC) FILETIME=[935823A0:01C97CBD] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3167; t=1232648203; x=1233512203; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sccomer@cisco.com; z=From:=20scott=20comer=20 |Subject:=20Re=3A=20[vote]=20include=20fix=20in=20release=2 01.0.2=20(ETCH-28)=20Examples=20do=20not=0A=20build=20due=20 to=20outdated=20ant=20files. |Sender:=20; bh=CHwCM9axCLbN2esns0eXYaubsWJvuB/d9Jn3sVTIrtE=; b=oZY/dEoRtBLgW5YJnG6HSmeKLdywV4UOgxQLJz4Wop8SpP/hb0ltHCvstQ 5gbSpLU9or0d4bLmrEkhKJdkiPd+/VrEeHYXd5vq8tl5DSPWgeyhllrSNvLX rt9mxnPeSe; Authentication-Results: sj-dkim-4; header.From=sccomer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org i tested the perf and the chat examples. both work. assuming the others do, too. we're good to go. scott comer wrote: > i applied rene's patch and the build worked for me. so at least he > hasn't broken anything. i've > not yet checked whether the examples themselves actually build once > installed. > > +1 > > scott out > > Ren� Barraza wrote: >> It seems that the build.xml files in the examples were referencing old >> environment variables that we used to perform the build before releasing >> Etch to the open source community. Attempting to build the examples >> without >> the proper environment would result in the build failing as Niclas >> pointed >> out on 1-15-09 in an email entitled "First impressions as >> 'developer'..." >> >> My fix involves importing >> ${Etch.basedir}/build-support/etch.includes.xml >> into these build files. I also removed extraneous targets from >> examples/build.xml that are otherwise inherited from >> etch.includex.xml and >> call the the build_example macro inside the do-build target as per >> our build >> customs. >> >> I've cleaned and built both the debug and release targets from the >> sanctity >> of my Mac which does not contain the legacy environment variables that >> allowed this bug to slip through the cracks. All the examples build >> and run. >> >> PS- I'll be out of town for the next week, if the vote passes and >> someone >> wishes to apply the patch in my absence, be my guest. :) >> >> >> Regards, >> Ren� >> >> >> On 1/21/09 4:33 PM, "Rene Barraza (JIRA)" wrote: >> >> >>> [ >>> https://issues.apache.org/jira/browse/ETCH-28?page=com.atlassian.jira.plugin.s >>> >>> ystem.issuetabpanels:all-tabpanel ] >>> >>> Rene Barraza updated ETCH-28: >>> ----------------------------- >>> >>> Attachment: etch-examples-patch.txt >>> >>> Patch for fixing the issue. Essentially I included a reference to >>> ${Etch.basedir}/build-support/build.includes.xml to propagate the >>> setting of >>> library variables from build.dependency and leverage the main >>> targets: Clean, >>> Release, Debug, etc. Please excuse the excess changes from tabs to >>> whitespace. >>> >>> >>>> Examples do not build due to outdated ant files. >>>> ------------------------------------------------ >>>> >>>> Key: ETCH-28 >>>> URL: https://issues.apache.org/jira/browse/ETCH-28 >>>> Project: Etch >>>> Issue Type: Bug >>>> Components: examples >>>> Affects Versions: 1.0.2 >>>> Environment: All >>>> Reporter: Rene Barraza >>>> Assignee: Rene Barraza >>>> Fix For: 1.0.2 >>>> >>>> Attachments: etch-examples-patch.txt >>>> >>>> Original Estimate: 48h >>>> Remaining Estimate: 48h >>>> >>>> The build.xml for the various Etch Examples are old and outdated using >>>> customs that were utilized prior to releasing Etch to the open source >>>> community. These scripts need to be refactored to use the existing >>>> build >>>> infrastructure. >>>> >> >> >