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 50C6510F76 for ; Thu, 19 Dec 2013 18:31:31 +0000 (UTC) Received: (qmail 42667 invoked by uid 500); 19 Dec 2013 18:31:30 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 42644 invoked by uid 500); 19 Dec 2013 18:31:30 -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 42636 invoked by uid 99); 19 Dec 2013 18:31:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 18:31:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joaopedromartinsfernandes@gmail.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-ob0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 18:31:24 +0000 Received: by mail-ob0-f182.google.com with SMTP id wp4so1579695obc.13 for ; Thu, 19 Dec 2013 10:31:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=DGqMucFUdr/s+DvYhtd0iyJl+CyOheSrPnDTStmPwrs=; b=1F3mK6Gf6PexW6u44ZxlSuk+uCT5/ZJ8Qljs8ZgOax589SmkbVUuszBREiAQUo1/Fb bN0kZD8eEA/mOA4I7+H5XDiD//Qs/p3Cdh7T5fsDCBCxhPvOEE5eMEJB6OPitCK2Lg3+ 6ppKtOrIy/wpa5dklDg94scK9PZDLnlC2x5XS6+Mdn2xi8xrxGMrwo7BINzlnwSMFyp3 NFnQv8PbcDMDzkc2wyjVlYgOr+lyLgl0U/54+lG0pa6zVePy6RoV4U1k1msYsHDKZKhS HeTlGYf8UtKlVY/e8UETNP6aStWIJoEy8kdsKTE9jN3HSIUBDEZ/IIbmOzZThw6QZQYF qU9w== X-Received: by 10.60.37.33 with SMTP id v1mr2512079oej.2.1387477862875; Thu, 19 Dec 2013 10:31:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.45.200 with HTTP; Thu, 19 Dec 2013 10:30:42 -0800 (PST) In-Reply-To: References: From: =?ISO-8859-1?Q?Jo=E3o_Fernandes?= Date: Thu, 19 Dec 2013 18:30:42 +0000 Message-ID: Subject: Re: [FlexJS] BarChart component added To: dev@flex.apache.org Content-Type: multipart/alternative; boundary=089e0117691f26896d04ede75d55 X-Virus-Checked: Checked by ClamAV on apache.org --089e0117691f26896d04ede75d55 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Couldn't we somehow deploy automatically a folder (libs/native/whatever) into the output folder and combine that with the [Native] metadata? Falcon would delete everything in the output folder, generate everything that it's not [native] and then deploy everything in the libs(native/whatever) folder into the output folder. On 19 December 2013 17:08, Alex Harui wrote: > Possible, or we maybe we could mark every FalconJX-generated file with > "Generated by FalconJX" and not overwrite files that don't have that. Bu= t > right now, FalconJX blows away the entire output folder. I'm not sure > what hassles we'll face if we stop doing that. > > -Alex > > On 12/19/13 8:49 AM, "Jo=E3o Fernandes" > wrote: > > >Couldn't we simply mark a class with a [Native] metadata? I think randor= i > >framework has a similar approach. > > > > > >On 19 December 2013 15:30, Erik de Bruin wrote: > > > >> I think that would involve keeping track of what compilation units > >> have been processed and then skip the ones from the framework if they > >> have a counter part in the project files. I'm not sure if Falcon would > >> like that. > >> > >> I'm "away from computer" this week, so above is just a barely educated > >> guess. You mileage may vary ;-) > >> > >> EdB > >> > >> > >> > >> On Tue, Dec 17, 2013 at 2:54 PM, Alex Harui wrote: > >> > Way to go! > >> > > >> > The next thing Erik or I have to figure out is the build script and > >> > compiler changes so that certain AS files get cross-compiled to JS > >> without > >> > overwriting the hand-written JS files. Erik, any thoughts on how > >>tricky > >> > that will be? > >> > > >> > -Alex > >> > > >> > On 12/17/13 12:49 PM, "Peter Ent" wrote: > >> > > >> >>Hi, > >> >> > >> >>I've added a simple BarChart component to the ActionScript FlexJS > >>SDK; it > >> >>is modeled on the MX Charts package. I also included an example of > >>using > >> >>it, located in the FlexJS examples directory. > >> >> > >> >>I developed the BarChart in ActionScript but it can be cross-compile= d > >> >>into JavaScript and produces the same chart. The BarChartExample has > >>the > >> >>sources in the project so that you can compile it for either > >>ActionScript > >> >>or JavaScript. I've included a README in that project with more > >> >>information. > >> >> > >> >>The intent, as with the DataGrid, is to develop more complex > >>components > >> >>in ActionScript and cross-compile them into JavaScript, saving a lot > >>of > >> >>time. While doing this project I had to hand-craft a JavaScript > >>component > >> >>to display the bars since the ActionScript version relies on the Fla= sh > >> >>Player's Shape class and that is not available in HTML. I think this > >> >>really illustrates the potential of FlexJS where you can have a good > >>set > >> >>of fundamental components that are environment specific (e.g., Butto= n, > >> >>Label, and TextInput) which must be crafted for all environments, bu= t > >> >>complex components can be written in ActionScript and just > >>cross-compiled > >> >>into JavaScript. > >> >> > >> >>My next task is add some simple axis labeling. > >> >> > >> >>Regards, > >> >>Peter Ent > >> >>Adobe Systems > >> > > >> > >> > >> > >> -- > >> Ix Multimedia Software > >> > >> Jan Luykenstraat 27 > >> 3521 VB Utrecht > >> > >> T. 06-51952295 > >> I. www.ixsoftware.nl > >> > > > > > > > >-- > > > >Jo=E3o Fernandes > > --=20 Jo=E3o Fernandes --089e0117691f26896d04ede75d55--