Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FC8A18EAC for ; Sun, 1 Nov 2015 18:24:36 +0000 (UTC) Received: (qmail 62325 invoked by uid 500); 1 Nov 2015 18:24:36 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 62279 invoked by uid 500); 1 Nov 2015 18:24:35 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 62267 invoked by uid 99); 1 Nov 2015 18:24:35 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2015 18:24:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3161AC094C for ; Sun, 1 Nov 2015 18:24:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.119 X-Spam-Level: X-Spam-Status: No, score=-0.119 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id VW4zXbt6c68K for ; Sun, 1 Nov 2015 18:24:25 +0000 (UTC) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 75ED0439FD for ; Sun, 1 Nov 2015 18:24:25 +0000 (UTC) Received: by wicfx6 with SMTP id fx6so37447883wic.1 for ; Sun, 01 Nov 2015 10:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=/AYy5A+KGKMaBigUmV/0Ky3mxy8J2TgdB5dKS2xECrE=; b=SNxaATZSy/Jegv+UBAqtnqZsniRv2iz1SVE0rutjAp5QpVakGIVI4HVq0tQde2ehsk lrF6lIVeIzPOIjRZHAi0POJOB9j31tRY3IeOz1OPTo3cAXzxgO6b9nH4qZwAYoqiklox 19wQS9LmKRcMlcGM3unrQunATIWWKgTy3d83+zjTKMTqiOj//XsX4/PbM2MEZYl2N5Wc yGh24Yo0JvRu1EFBhtTtpxIfdoXu67ecJ9bcxQ/wtcogs4ZC8Kg2x6u8urEY/+zGED4w tHW/rVY/M8DrAwMORiNIzN7K1Ke1rVFbPWT8ZCvlU5SqZB+M7cIIKgx2ikFgg8DTCuD5 jGNQ== X-Received: by 10.194.157.9 with SMTP id wi9mr19200896wjb.154.1446402257689; Sun, 01 Nov 2015 10:24:17 -0800 (PST) Received: from [127.0.0.1] ([185.120.126.10]) by smtp.gmail.com with ESMTPSA id u64sm13941243wmd.6.2015.11.01.10.24.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Nov 2015 10:24:16 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Building FlexJS from source From: Harbs In-Reply-To: Date: Sun, 1 Nov 2015 20:24:14 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9320F09C-78A0-4B2F-B39E-3C9852402747@gmail.com> <83A1B5CA-2741-4CA7-A424-160D3CF4E191@gmail.com> <04083F4A-536D-43D7-9A59-D3830D77377C@gmail.com> <46CB6276-EFB6-4658-93E8-E7B9AF98E918@gmail.com> <581F2AA2-D450-46B6-AE6C-2899D3A76573@gmail.com> <560C9D42-4900-4278-B966-ACA83518B613@gmail.com> <72796235-7651-4E57-8737-E370F24767D5@gmail.com> <4F4F1BD2-2C68-4E51-89F2-885A6688EFDB@gmail.com> To: dev@flex.apache.org X-Mailer: Apple Mail (2.1878.6) On Nov 1, 2015, at 4:48 PM, Alex Harui wrote: > What command-line are you running and what is FALCON_HOME set to? If = you > are trying to run from the repos, FALCON_HOME should be set to the > flex-falcon repo=92s compiler/generated/dist/sdk It could be that I did not get this right. I=92ll try again and report = back. > There shouldn=92t be a lib folder in flex-asjs unless you tried to = convert > it into an IDE compatible folder, which I=92ve not tried. Yes. That=92s what I did. How are you set up to work on the SDK? Do you = copy everything out first? Or do you just use ant for everything? > -Alex >=20 > On 11/1/15, 4:13 AM, "Harbs" wrote: >=20 >> In trying to figure out what the build script was doing, I got a bit >> lost. I=92m going to need some help here. >>=20 >> The build script is including build_example.xml which has this: >>=20 >> >> >> >>=20 >> >> >> >>=20 >> >> >> = >>=20 >> I=92m getting an error at taskdef, and I=92m not sure how to fix it. >>=20 >> I=92m not getting this bit. FALCON_HOME does not seem to have >> lib/falcon-flexTasks.jar, but FLEX_HOME does. FALCON_HOME does have >> flexTasks.tasks. No matter what I do, I=92m getting an error along = these >> lines:=20 >>=20 >> /Users/harbs/Documents/Adobe Flash Builder >> 4.7/DataGridExample/build_example.xml:33: >> /Users/harbs/ApacheFlex/flex-asjs/lib does not exist. >>=20 >> I=92m getting the error whether I make the path FLEX_HOME or = FALCON_HOME. >> Either way, this path DOES exist. >>=20 >> On Nov 1, 2015, at 2:42 PM, Harbs wrote: >>=20 >>> I=92m using FB 4.7 and things are definietly better than they were = with >>> 4.5. >>>=20 >>> I got the DataGrid example to run, but I=92m getting errors trying = to run >>> the DataBindingExample: >>>=20 >>> ReferenceError: Error #1069: Property name not found on >>> flash.display.LoaderInfo and there is no default value. >>> at=20 >>> = org.apache.flex.core::CSSFontFaceBead/errorHandler()[/Users/harbs/Documen >>> = ts/ApacheFlex/flex-asjs/frameworks/projects/Core/as/src/org/apache/flex/c >>> ore/CSSFontFaceBead.as:122] >>>=20 >>> It looks like I=92m getting an ioError which is not being handled >>> correctly: Error #2036: Load Never Completed. URL: >>> fonts/flat-ui-icons-regular.swf >>>=20 >>> I=92m also getting an error when I try using Run > External Tools = and >>> select either of the FlexJS build options. Is that supposed to work? = I >>> seemed like yes from the wiki instructions. >>>=20 >>> File not found: org.apache.flex.collections.ArrayList >>>=20 >>> java.lang.RuntimeException: Unable to find JavaScript filePath for >>> class: org.apache.flex.collections.ArrayList >>> at=20 >>> = org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>> iter.java:176) >>> at=20 >>> = org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>> iter.java:210) >>> at=20 >>> = org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>> iter.java:210) >>> at=20 >>> = org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>> iter.java:210) >>> at=20 >>> = org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWr >>> iter.java:128) >>> at=20 >>> = org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Goo >>> gDepsWriter.java:80) >>> at=20 >>> = org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher >>> .publish(MXMLFlexJSPublisher.java:330) >>> at = org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:467) >>> at=20 >>> = org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346) >>> at=20 >>> = org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271) >>> at=20 >>> = org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:23 >>> 0) >>> at = org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176) >>>=20 >>> and: >>> Using Falcon codebase: >>> /Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../.. >>> Using Flex SDK: = /Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../.. >>> exception 'java.io.FileNotFoundException: = /Users/harbs/Documents/Adobe >>> Flash Builder 4.7/DataGridExample/.flexLibProperties' while setting >>> variable '' >>> at=20 >>> = org.apache.flex.compiler.internal.config.FlashBuilderConfigurator$FlexLib >>> PropertiesReader.read(FlashBuilderConfigurator.java:406) >>> at=20 >>> = org.apache.flex.compiler.internal.config.FlashBuilderConfigurator.compute >>> FlashBuilderArgs(FlashBuilderConfigurator.java:102) >>> at = org.apache.flex.compiler.clients.MXMLJSC.configure(MXMLJSC.java:691) >>> at=20 >>> = org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:335) >>> at=20 >>> = org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:271) >>> at=20 >>> = org.apache.flex.compiler.clients.COMPJSC.staticMainNoExit(COMPJSC.java:15 >>> 4) >>> at = org.apache.flex.compiler.clients.COMPJSC.main(COMPJSC.java:102) >>> using FlashBuilder Project Files >>> FlashBuilder settings: >>> -locale >>> en_US >>> -source-path+=3D/Users/harbs/Documents/Adobe Flash Builder >>> 4.7/DataGridExample/src >>> -compiler.accessible=3Dtrue >>> -output=3D/Users/harbs/Documents/Adobe Flash Builder >>> 4.7/DataGridExample/bin-release/DataGridExample.swc >>> -library-path+=3D/Users/harbs/Documents/Adobe Flash Builder >>> 4.7/DataGridExample/libs >>>=20 >>> = +flexlib=3D/Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../../framew= o >>> rks >>> -js-output-type=3DFLEXJS >>>=20 >>> = -sdk-js-lib=3D/Users/harbs/Documents/ApacheFlex/flex-asjs/js/bin/../../fra= m >>> eworks/js/FlexJS/src >>> -fb >>> nothing was specified to be included in the library. >>>=20 >>>=20 >>> ant does not work either, but it looks like the build script has = some >>> hard coded vars for dependencies. >>>=20 >>> I=92m okay with having to hand modify build scripts if necessary, = but if >>> there=92s some way to make this easier for users, that=92s probably = a good >>> idea. >>>=20 >>> On Oct 26, 2015, at 9:29 PM, OmPrakash Muppirala = >>> wrote: >>>=20 >>>> I just pushed the .project files. I hope nothing else is broken. >>>>=20 >>>> Thanks, >>>> Om >>>>=20 >>>> On Mon, Oct 26, 2015 at 12:24 PM, Harbs = wrote: >>>>=20 >>>>> Yes.I=92m fine using a workaround for now. Although I can=92t say = I >>>>> understand >>>>> what you mean=85 ;-) >>>>>=20 >>>>> On Oct 26, 2015, at 8:52 PM, Alex Harui wrote: >>>>>=20 >>>>>>> 2) Get that to work from the source folder (so I=92m able to fix = and >>>>>>> add >>>>> to >>>>>>> the develop branch and debug changes). >>>>>>=20 >>>>>> We=92ll see how much of that works once Om pushes the .project = files, >>>>>> but >>>>>> otherwise this is the part I=92m asking if you can workaround = until we >>>>>> finish the JS to AS port and re-configure the project files so we >>>>>> don=92t >>>>>> have to do it twice. >>>>>=20 >>>>>=20 >>>=20 >>=20 >=20