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 99ED9EFB3 for ; Thu, 6 Dec 2012 06:43:25 +0000 (UTC) Received: (qmail 44887 invoked by uid 500); 6 Dec 2012 06:43:24 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 44829 invoked by uid 500); 6 Dec 2012 06:43:23 -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 44809 invoked by uid 99); 6 Dec 2012 06:43:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2012 06:43:22 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.39 as permitted sender) Received: from [64.18.1.39] (HELO exprod6og117.obsmtp.com) (64.18.1.39) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2012 06:43:13 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob117.postini.com ([64.18.5.12]) with SMTP ID DSNKUMA+bMCBgP29pju503JYKGh/VQ26zg0E@postini.com; Wed, 05 Dec 2012 22:42:53 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 qB66dx1v000463 for ; Wed, 5 Dec 2012 22:40:00 -0800 (PST) Received: from nahub02.corp.adobe.com (nahub02.corp.adobe.com [10.8.189.98]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qB66goXL009940 for ; Wed, 5 Dec 2012 22:42:50 -0800 (PST) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nahub02.corp.adobe.com ([10.8.189.98]) with mapi; Wed, 5 Dec 2012 22:42:50 -0800 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Wed, 5 Dec 2012 22:42:47 -0800 Subject: Re: [ASJS] refactored JS framework and added publishing tool set Thread-Topic: [ASJS] refactored JS framework and added publishing tool set Thread-Index: Ac3TfB0YhcdKm0ygQpSRrbshcHKwmwAAMn+M 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 I must be missing something. Where did base.js get checked into or how doe= s it get downloaded? BTW, thanks for doing all of this. I will try to modify FalconJS tomorrow. -Alex On 12/5/12 10:36 PM, "Erik de Bruin" wrote: > That is precisely what I've done. >=20 > EdB >=20 >=20 > On Thu, Dec 6, 2012 at 5:43 AM, Alex Harui wrote: >> Did you follow the thread where we may switch to base.js? It appears th= e >> snapshot of code was trying to do that, but was incomplete. How will th= at >> affect what you have done? >>=20 >>=20 >> On 12/5/12 4:39 PM, "Erik de Bruin" wrote: >>=20 >>> Hi, >>>=20 >>> As the subject suggest, I've completely refactored the JS framework >>> and added the start of a publishing publishing tool set. What does >>> this mean? >>>=20 >>> 1. I've taken the JS framework that was donated by Adobe, taken it >>> apart and put it back together again in such a way that it now play >>> nicely with the Google Closure tools (Library, Linter, Compiler and >>> Builder). This give the framework developers a common ground to work >>> on and provides for an approximation of most AS language features >>> (inheritance, interfaces, access control etc.). >>>=20 >>> 2. I've used ant to tie together the various available tools (FalconJS >>> compiler and Google's Closure Builder, mainly) in such a way that when >>> you run the build script in 'publisher', it'll take an AS project you >>> point it to and create an HTML/JS release that includes all the >>> framework JS files as well as the JS files resulting from the cross >>> compilation of the AS project, all nicely optimised and minified into >>> ONE JS file. You can already see most of this in action using a >>> 'dummy' intermediate JS project I've added to SVN. >>>=20 >>> Now, the refactoring I did means that the current output of the >>> FalconJS compiler is no longer compatible with the FlexJS framework. >>> I'll try to create a set of rules (or a template, or what?) for the >>> compiler guys to see if they can change the FalconJS output such that >>> it becomes compatible with my version of the JS framework and tool >>> set. >>>=20 >>> EdB >>>=20 >>>=20 >>>=20 >>> -- >>> Ix Multimedia Software >>>=20 >>> Jan Luykenstraat 27 >>> 3521 VB Utrecht >>>=20 >>> T. 06-51952295 >>> I. www.ixsoftware.nl >>=20 >> -- >> Alex Harui >> Flex SDK Team >> Adobe Systems, Inc. >> http://blogs.adobe.com/aharui >>=20 >=20 >=20 --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui