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 A466318984 for ; Mon, 15 Jun 2015 19:31:15 +0000 (UTC) Received: (qmail 64590 invoked by uid 500); 15 Jun 2015 19:31:15 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 64553 invoked by uid 500); 15 Jun 2015 19:31:15 -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 64542 invoked by uid 99); 15 Jun 2015 19:31:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 19:31:14 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of webdoublefx@hotmail.com designates 157.55.2.79 as permitted sender) Received: from [157.55.2.79] (HELO DUB004-OMC4S4.hotmail.com) (157.55.2.79) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 19:28:59 +0000 Received: from DUB118-W32 ([157.55.2.71]) by DUB004-OMC4S4.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 15 Jun 2015 12:30:45 -0700 X-TMN: [hv7UFIAzvfkGta2JA4z11ru3lqYhYuN+] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: From: =?Windows-1252?B?RnLpZOlyaWMgVEhPTUFT?= To: "dev@flex.apache.org" Subject: RE: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration) Date: Mon, 15 Jun 2015 20:30:44 +0100 Importance: Normal In-Reply-To: References: ,,,, Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 15 Jun 2015 19:30:45.0091 (UTC) FILETIME=[C6388330:01D0A7A1] X-Virus-Checked: Checked by ClamAV on apache.org > Make does the compile without a problem. :)=0A= =0A= Does it render ?=0A= =0A= Fr=E9d=E9ric THOMAS=0A= =0A= =0A= ----------------------------------------=0A= > Date: Mon=2C 15 Jun 2015 14:54:06 -0400=0A= > Subject: Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Int= egration)=0A= > From: teotigraphixllc@gmail.com=0A= > To: dev@flex.apache.org=0A= >=0A= > Ok=2C Fine 2 people say don't worry about it=2C so I won't. :)=0A= >=0A= > BTW Josh=2C Fred and I have been working with IntelliJ and this compiles = in=0A= > IJ with the FlexJSNightly compiler using the JS.swc as an external librar= y.=0A= > Make does the compile without a problem. :)=0A= >=0A= > AS=0A= > https://gist.github.com/teotigraphix/ff16e5d404398119358b=0A= >=0A= > JS=0A= > https://gist.github.com/teotigraphix/9e8bbc28f8e0a154ace4.=0A= >=0A= > Mike=0A= >=0A= >=0A= >=0A= >=0A= >=0A= >=0A= >=0A= >=0A= > On Mon=2C Jun 15=2C 2015 at 2:49 PM=2C Josh Tynjala wrote:=0A= >=0A= >> AS3 has the same issue as JS when root package and custom packages have= =0A= >> classes with the same name. It's just that JS has more things in the roo= t=0A= >> package. I don't think any special solution is needed.=0A= >>=0A= >> - Josh=0A= >>=0A= >> On Mon=2C Jun 15=2C 2015 at 11:42 AM=2C Michael Schmalle <=0A= >> teotigraphixllc@gmail.com> wrote:=0A= >>=0A= >>> On Mon=2C Jun 15=2C 2015 at 2:37 PM=2C Alex Harui wr= ote:=0A= >>>=0A= >>>>=0A= >>>>=0A= >>>> On 6/15/15=2C 11:16 AM=2C "Michael Schmalle" =0A= >>>> wrote:=0A= >>>>=0A= >>>>>>!!!!! Still having things at the root package level is going to cause= =0A= >>>>>>problems=2C I think we need a solution to this=2C the CustomEvent and= =0A= >> Event=0A= >>>>>>ambiguous warnings shows its probably going to mess things up.=0A= >>>>>=0A= >>>>>Can you give me an example? If you are using JS.SWC=2C what other swc= =0A= >> is=0A= >>>>>going to define CustomEvent and Event? Again=2C the set of SWCs has to= =0A= >> be=0A= >>>>>different for different targets.=0A= >>>>>=0A= >>>>>Well it happens if you want to use FlexJS and include DOM calls. Even= =0A= >> if=0A= >>>>>you don't want to use SWF=2C CustomEvent is a DOM event class and at t= he=0A= >>>>>package level=2C so in IJ=2C it can't resolve CustomEvent in the class= =0A= >> code=0A= >>>>>without it being qualified org.apache.flex.events.CustomEvent.=0A= >>>>=0A= >>>> OK=2C I get it now. We can certainly rename=0A= >>>> org.apache.flex.events.CustomEvent.=0A= >>>>=0A= >>>> For org.apache.flex.events.Event=2C I suppose we could rename it too. = I=0A= >>>> have a feeling there would be some issue with doing that=2C but it=0A= >> doesn=92t=0A= >>>> come to mind right now. Another option is revisit using=0A= >>> goog.events.Event=0A= >>>> now that we=92ve set the minimum on IE9 (instead of IE8). Maybe we can= =0A= >>>> write a simple DOM non-bubbling Event implementation for objects that= =0A= >>>> don=92t wrap DOM objects. Would having or.apache.flex.events.Event ext= end=0A= >>>> Event or somehow map to Event fix the problem?=0A= >>>>=0A= >>>>=0A= >>>=0A= >>> This is not a solution though. I only used Event and CustomEvent as an= =0A= >>> example because that is what IJ initially complained about in the=0A= >>> DataBindingExample.=0A= >>>=0A= >>> But this would hold true for all package level DOM classes if you had t= he=0A= >>> same name with an import statement in your code.=0A= >>>=0A= >>> So it seems=2C we can't escape the fact these DOM classes need to be in= a=0A= >>> package org.apache.flex.dom or something.=0A= >>>=0A= >>> This will complicate everything for me=2C the emitter will need to have= a=0A= >>> transform function to reduce this stuff. Also=2C this is why I brought = up=0A= >> the=0A= >>> JavaScript metadata because if you are using a SWC=2C there is no asdoc= .=0A= >>>=0A= >>> Mike=0A= >>>=0A= >>>=0A= >>>=0A= >>>> -Alex=0A= >>>>=0A= >>>>=0A= >>>>=0A= >>>=0A= >>=0A= =