Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E97F6DFCB for ; Wed, 28 Nov 2012 19:58:44 +0000 (UTC) Received: (qmail 45781 invoked by uid 500); 28 Nov 2012 19:58:43 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 45748 invoked by uid 500); 28 Nov 2012 19:58:43 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 45740 invoked by uid 99); 28 Nov 2012 19:58:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 19:58:43 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.236 as permitted sender) Received: from [64.18.1.236] (HELO exprod6og120.obsmtp.com) (64.18.1.236) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 19:58:34 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob120.postini.com ([64.18.5.12]) with SMTP ID DSNKULZs1F82xkLtUy+aXi3COza5TaCkoxLx@postini.com; Wed, 28 Nov 2012 11:58:14 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qASJtK1v021319 for ; Wed, 28 Nov 2012 11:55:21 -0800 (PST) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qASJuAXQ021099 for ; Wed, 28 Nov 2012 11:58:10 -0800 (PST) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nacas02.corp.adobe.com ([10.8.189.100]) with mapi; Wed, 28 Nov 2012 11:58:02 -0800 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Wed, 28 Nov 2012 11:57:32 -0800 Subject: Re: [Falcon] build not finding playerglobal.swc Thread-Topic: [Falcon] build not finding playerglobal.swc Thread-Index: Ac3Nn5IToYWdtza5TGaIGafkAnWr8QAAwgtj Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.13.0.120411 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 11/28/12 11:35 AM, "Carol Frampton" wrote: >=20 >=20 > On 11/28/12 2 :14PM, "Michael Schmalle" wrote: >=20 >> Right, >>=20 >> I think I see the problem now, I put JAVA_HOME, ANT_HOME as windows >> env vars (in the begining) but set PLAYERGLOBAL_HOME in the >> env.properties file. So it's not using the properties file during the >> compiler build. >=20 > That might be considered a bug. env.properties needs to be in the > classpath. I don't think that file is being copied over when the compile= r > build.xml copies the rest of the sdk files. I also am not sure why the SDK gets copied, but if is just to build support.swc, that is temporary. We will fold the code in support.swc into the SDK shortly. >=20 > Carol >=20 >>=20 >> And yes, I remember the last time I did this I put PLAYERGLOBAL_HOME >> in the Windows env table. >>=20 >> Thanks, >> Mike >>=20 >>=20 >> Quoting Carol Frampton : >>=20 >>>=20 >>> 2. Set the environment variables JAVA_HOME, ANT_HOME, and >>> PLAYERGLOBAL_HOME as when building the SDK. >>>=20 >>> I'd say you don't have PLAYERGLOBAL_HOME defined which is why the >>> compiler >>> isn't replacing {playerglobalHome}. >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> On 11/28/12 1 :54PM, "Michael Schmalle" wrote= : >>>=20 >>>> Carol, >>>>=20 >>>> Let's rewind the tape, I'm having one of those days. >>>>=20 >>>> I don't want to dirty my source tree, I just want to build the >>>> compiler. What step am I missing from reading the README in the >>>> compiler project? >>>>=20 >>>> From what I am reading it says nothing about where or how to target th= e >>>> sdk. >>>>=20 >>>> Mike >>>>=20 >>>>=20 >>>> Quoting Carol Frampton : >>>>=20 >>>>> If you want to make your svn checkout look like an "installed" sdk yo= u >>>>> can >>>>> go to ide/flashbuilder and run make-sdk. You will end up with a >>>>> polluted >>>>> dev tree since flex-config.xml and the other *-config.xml files will >>>>> be >>>>> modified so that {playerglobalHome} is replaced, the AIR SDK is copie= d >>>>> in, >>>>> etc. I run with this but you need to be careful not to commit any of >>>>> the >>>>> modified files. >>>>>=20 >>>>> Carol >>>>>=20 >>>>> On 11/28/12 12 :51PM, "Michael Schmalle" >>>>> wrote: >>>>>=20 >>>>>> So does this mean I have to run the installer for it to work now? >>>>>>=20 >>>>>> I just tried adding the folder temporarily into the dist folder , >>>>>> reran the build and got; >>>>>>=20 >>>>>> set.support.swc.available: >>>>>> support.swc: >>>>>> [echo] Building support.swc >>>>>> [compc] Loading configuration file >>>>>>=20 >>>>>>=20 >>>>>> C:\Users\Mike\Documents\svn\apache\flex\falcon\trunk\compiler\genera= te >>>>>> d\ >>>>>> di >>>>>> st\sdk\frameworks\flex-config.xml >>>>>> [compc] Loading configuration file >>>>>>=20 >>>>>>=20 >>>>>> C:\Users\Mike\Documents\svn\apache\flex\falcon\trunk\compiler\dist\f= le >>>>>> x\ >>>>>> fr >>>>>> ameworks\projects\support\framework-config.xml >>>>>> [compc] Apache Flex compc (Component Compiler) >>>>>> [compc] Version 4.9.0 build 0 >>>>>> [compc] Copyright 2012 The Apache Software Foundation. >>>>>> [compc] >>>>>>=20 >>>>>>=20 >>>>>> C:\Users\Mike\Documents\svn\apache\flex\falcon\trunk\compiler\genera= te >>>>>> d\ >>>>>> di >>>>>> st\sdk\frameworks\flex-config.xml(65): Error: unable to open >>>>>> '{playerglobalHome}/11.1/playerglobal.swc' >>>>>> [compc] >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> Mike >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> Quoting Alex Harui : >>>>>>=20 >>>>>>> I think I had to point the Falcon build to an "installed Apache Fle= x >>>>>>> SDK" >>>>>>> (created by Om's installer) not a build from SVN/sources because ou= r >>>>>>> default >>>>>>> sources point to an external playerglobal.swc. >>>>>>>=20 >>>>>>> BTW, one of my first things to change in Falcon is its need to copy >>>>>>> the >>>>>>> SDK. >>>>>>> I had it working to point to the Apache Flex source builds, but tha= t >>>>>>> seemed >>>>>>> to get lost in the donation. >>>>>>>=20 >>>>>>>=20 >>>>>>> On 11/28/12 9:40 AM, "Michael Schmalle" >>>>>>> wrote: >>>>>>>=20 >>>>>>>> Hi, >>>>>>>>=20 >>>>>>>> I had to reformat my computer, thus reinstall and build all the >>>>>>>> apache >>>>>>>> flex libraries. >>>>>>>>=20 >>>>>>>> I have done everything I did in the last run, when I tried to buil= d >>>>>>>> the falcon compiler after I built the sdk I got; >>>>>>>>=20 >>>>>>>> Could not find file >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> ...\svn\apache\flex\falcon\trunk\compiler\generated\dist\sdk\frame= wo >>>>>>>> rk >>>>>>>> s\ >>>>>>>> libs\p >>>>>>>> layer\11.1\playerglobal.swc to >>>>>>>> copy. >>>>>>>>=20 >>>>>>>> Did something change where the sdk build does not copy that file >>>>>>>> anymore? If so, how do we change the build of falcon to find it >>>>>>>> correctly? >>>>>>>>=20 >>>>>>>> Mike >>>>>>>=20 >>>>>>> -- >>>>>>> Alex Harui >>>>>>> Flex SDK Team >>>>>>> Adobe Systems, Inc. >>>>>>> http://blogs.adobe.com/aharui >>>>>>>=20 >>>>>>>=20 >>>>>>=20 >>>>>> -- >>>>>> Michael Schmalle - Teoti Graphix, LLC >>>>>> http://www.teotigraphix.com >>>>>> http://blog.teotigraphix.com >>>>>>=20 >>>>>=20 >>>>>=20 >>>>=20 >>>> -- >>>> Michael Schmalle - Teoti Graphix, LLC >>>> http://www.teotigraphix.com >>>> http://blog.teotigraphix.com >>>>=20 >>>=20 >>>=20 >>=20 >> --=20 >> Michael Schmalle - Teoti Graphix, LLC >> http://www.teotigraphix.com >> http://blog.teotigraphix.com >>=20 >=20 --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui