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 636BDEFAC for ; Thu, 6 Dec 2012 06:37:05 +0000 (UTC) Received: (qmail 34808 invoked by uid 500); 6 Dec 2012 06:37:04 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 34648 invoked by uid 500); 6 Dec 2012 06:37:04 -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 34605 invoked by uid 99); 6 Dec 2012 06:37:02 -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:37:02 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.210.179] (HELO mail-ia0-f179.google.com) (209.85.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2012 06:36:55 +0000 Received: by mail-ia0-f179.google.com with SMTP id o25so4372395iad.38 for ; Wed, 05 Dec 2012 22:36:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=diRUvbCps39Yuv4BOSjRUo53s38GsvoMl/hZx77If+E=; b=Mo0qlLlJmVW0EjSE8PePlcAyPrW41DCYsQ6n2evhuFBcM7siUHEfLFdsYdLF5I7W6k FmZggyIHqq5HiXOAMg8MZlICkDv0SZCYhtUtK41PV23Sc2V7B34b9WUHYWm8VUdxRSLr rL1loK0ypCLWdAifAAggzNebgDRZhuQ2hblr8CAE2i1UYF5yydaaiwjKsrZzmFRu5nyw 6MHxrwTyvQaRkl+dYVS1ixgRhsXshJNDvaGGvQesnZuZK4b9e4eNlYc4JdTIsONmNIJ3 O01r3rQGMdgnhYFye0MmSYF5BVZbEqQrnIoB/3HTl2R1ajrXMfjJGBJOxGISg3cQR8zR Pdsw== MIME-Version: 1.0 Received: by 10.50.0.168 with SMTP id 8mr458409igf.36.1354775794565; Wed, 05 Dec 2012 22:36:34 -0800 (PST) Received: by 10.64.34.234 with HTTP; Wed, 5 Dec 2012 22:36:34 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Dec 2012 07:36:34 +0100 Message-ID: Subject: Re: [ASJS] refactored JS framework and added publishing tool set From: Erik de Bruin To: "flex-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQno9d0SdsUKfLRLDLORAt+AHyrtrX5BipNPeUEH7DAP6uy2MoxaQHERyGYAIMX5Nft+3aEI X-Virus-Checked: Checked by ClamAV on apache.org That is precisely what I've done. EdB 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 the > snapshot of code was trying to do that, but was incomplete. How will that > affect what you have done? > > > On 12/5/12 4:39 PM, "Erik de Bruin" wrote: > >> Hi, >> >> 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? >> >> 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.). >> >> 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. >> >> 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. >> >> EdB >> >> >> >> -- >> Ix Multimedia Software >> >> Jan Luykenstraat 27 >> 3521 VB Utrecht >> >> T. 06-51952295 >> I. www.ixsoftware.nl > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui > -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl