Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@locus.apache.org Received: (qmail 50850 invoked from network); 22 Jan 2009 16:37:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2009 16:37:50 -0000 Received: (qmail 26776 invoked by uid 500); 22 Jan 2009 16:37:50 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 26767 invoked by uid 500); 22 Jan 2009 16:37:50 -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 26756 invoked by uid 99); 22 Jan 2009 16:37:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 08:37:50 -0800 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sccomer@cisco.com designates 171.71.176.72 as permitted sender) Received: from [171.71.176.72] (HELO sj-iport-3.cisco.com) (171.71.176.72) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 16:37:39 +0000 X-IronPort-AV: E=Sophos;i="4.37,307,1231113600"; d="scan'208,217";a="130415052" Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-3.cisco.com with ESMTP; 22 Jan 2009 16:37:18 +0000 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n0MGbIOL022330 for ; Thu, 22 Jan 2009 08:37:18 -0800 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n0MGbIjp024100 for ; Thu, 22 Jan 2009 16:37:18 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Jan 2009 08:37:18 -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 08:37:17 -0800 Message-ID: <4978A0BE.7050808@cisco.com> Date: Thu, 22 Jan 2009 10:37:18 -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: In-Reply-To: Content-Type: multipart/alternative; boundary="------------090209010700040603030608" X-OriginalArrivalTime: 22 Jan 2009 16:37:17.0968 (UTC) FILETIME=[B0895100:01C97CAF] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=6720; t=1232642238; x=1233506238; c=relaxed/simple; s=sjdkim2002; 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=cYxLKYt/RAl7Y8EYag2RSmFGk0RAzrsm742+mMn8NYo=; b=ApnhxqwPYxIClLlOYWp38LpHgl9nzxURzgCx5YgbaE2ULTAHnQAkGtWdX4 qwqWYM9+JhyKNdK2vBRELcBVVdo4Vz2A796Bz8RjZORWkiRUKJQKfrDg1zwG lcJfY0DfhO; Authentication-Results: sj-dkim-2; header.From=sccomer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org --------------090209010700040603030608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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. >>> > > --------------090209010700040603030608--