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 545C010CA3 for ; Thu, 14 May 2015 15:11:03 +0000 (UTC) Received: (qmail 7249 invoked by uid 500); 14 May 2015 15:11:02 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 7209 invoked by uid 500); 14 May 2015 15:11:02 -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 7197 invoked by uid 99); 14 May 2015 15:11:02 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2015 15:11:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C77DF1827B6 for ; Thu, 14 May 2015 15:11:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.283 X-Spam-Level: ***** X-Spam-Status: No, score=5.283 tagged_above=-999 required=6.31 tests=[FREEMAIL_REPLY=1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Lr4I8oAWOAxz for ; Thu, 14 May 2015 15:10:50 +0000 (UTC) Received: from DUB004-OMC4S34.hotmail.com (dub004-omc4s34.hotmail.com [157.55.2.109]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6434F24A39 for ; Thu, 14 May 2015 15:10:50 +0000 (UTC) Received: from DUB118-W31 ([157.55.2.73]) by DUB004-OMC4S34.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 14 May 2015 08:10:23 -0700 X-TMN: [dVPgogniEPULyrzTkKhc85mRc6c1R76h] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_f7156fcc-491f-4a64-9ed4-9ba8f80681be_" From: =?Windows-1252?B?RnLpZOlyaWMgVEhPTUFT?= To: "dev@flex.apache.org" Subject: RE: [FlexJS] IntelliJ Integration Date: Thu, 14 May 2015 16:10:22 +0100 Importance: Normal In-Reply-To: References: ,,<1431580244133-46495.post@n4.nabble.com>,,<1431600494186-46504.post@n4.nabble.com>,,,,,,,,,,,,,, MIME-Version: 1.0 X-OriginalArrivalTime: 14 May 2015 15:10:23.0282 (UTC) FILETIME=[19ADA120:01D08E58] --_f7156fcc-491f-4a64-9ed4-9ba8f80681be_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Sorry for the first link=2C you should have that instead at the begining ht= tp://snag.gy/jY42F.jpg Fr=E9d=E9ric THOMAS > From: webdoublefx@hotmail.com > To: dev@flex.apache.org > Subject: RE: [FlexJS] IntelliJ Integration > Date: Thu=2C 14 May 2015 16:06:23 +0100 >=20 > Hi Mike=2C >=20 > At the end I've got another integration that works better for me at the m= oment=2C I mean clearing the last IJ error I had. >=20 > choose a Flex SDK for your FlexJS Project: >=20 > http://snag.gy/P8zN4.jpg >=20 > Set the load config to FlexJS: > eg. for me: -load-config=3DD:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\fram= eworks\flex-config.xml >=20 > http://snag.gy/GGnx3.jpg >=20 > Add FlexJS as a new global Lib to you project (global will allow to reuse= it for other projects)=20 > eg. D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks >=20 > http://snag.gy/p5EnA.jpg >=20 > Apply it to your project when asked for >=20 > http://snag.gy/rhD8f.jpg >=20 > rename it to FlexJS 0.0.3=2C go back to you module=2C you should see this= : >=20 > http://snag.gy/eUKJd.jpg >=20 > Select the debugger from FlexJS and setup the external tool: >=20 > http://snag.gy/GrqHX.jpg >=20 > And you should be able to debug: >=20 > http://snag.gy/mO1jN.jpg >=20 > Without any IJ error: >=20 > http://snag.gy/6iWON.jpg >=20 > HTH > Fr=E9d=E9ric THOMAS >=20 > > Date: Thu=2C 14 May 2015 10:39:10 -0400 > > Subject: Re: [FlexJS] IntelliJ Integration > > From: teotigraphixllc@gmail.com > > To: dev@flex.apache.org > >=20 > > One other note to those trying to set this up=3B The library needs to b= e > > setup like in the screenshot below to get open declaration(middle mouse > > button) and documentation asdocs(CTRL - Q) to show correctly. > >=20 > > Select LibrarySource for all paths=3B > > http://snag.gy/0nEcL.jpg > >=20 > > Setup correct=3B > > http://snag.gy/SyzA4.jpg > >=20 > > The you get nice asdocs for all FlexJS=3B > > http://snag.gy/GvfgR.jpg > >=20 > > And new in IJ 4.1 ! Awesome debugging=2C you can see the values to the = right > > of all properties and variables=2C Alex this is one reason to use IJ fo= r dev. > > http://snag.gy/6O3vr.jpg > >=20 > > Mike > >=20 > > On Thu=2C May 14=2C 2015 at 10:16 AM=2C Michael Schmalle < > > teotigraphixllc@gmail.com> wrote: > >=20 > > > The Flex SDK is where IJ picks up the fx namespace and the FlexJS SWC= S is > > > where it gets the js namespaces. So we are totally hack right now but= =2C it's > > > workable. > > > > > > Mike > > > > > > On Thu=2C May 14=2C 2015 at 10:15 AM=2C Michael Schmalle < > > > teotigraphixllc@gmail.com> wrote: > > > > > >> Make sure you have a valid Flex SDK selected for the modules's SDK= =2C the > > >> FlexJS won't work right now. > > >> > > >> On Thu=2C May 14=2C 2015 at 10:13 AM=2C Fr=E9d=E9ric THOMAS < > > >> webdoublefx@hotmail.com> wrote: > > >> > > >>> Didn't work on mine :( > > >>> > > >>> http://snag.gy/bc79p.jpg > > >>> > > >>> Fr=E9d=E9ric THOMAS > > >>> > > >>> > Date: Thu=2C 14 May 2015 09:58:27 -0400 > > >>> > Subject: Re: [FlexJS] IntelliJ Integration > > >>> > From: teotigraphixllc@gmail.com > > >>> > To: dev@flex.apache.org > > >>> > > > >>> > I pressed Alt+Enter and IJ inserted at the bottom of = the > > >>> > document=2C I moved it to where it is in the screenshot and all i= s fine > > >>> on my > > >>> > end. > > >>> > > > >>> > http://snag.gy/vAlz2.jpg > > >>> > > > >>> > Mike > > >>> > > > >>> > On Thu=2C May 14=2C 2015 at 9:53 AM=2C Fr=E9d=E9ric THOMAS < > > >>> webdoublefx@hotmail.com> > > >>> > wrote: > > >>> > > > >>> > > Yep would be nice :-) > > >>> > > > > >>> > > One thing I noticed though=2C is in the js:Application: > > >>> > > initialize=3D"MyModel(model).stockSymbol=3D'ADBE'" > > >>> > > > > >>> > > > > >>> > > It is not reconized and once imported=2C IJ complaines the fx:S= cript > > >>> element > > >>> > > is not allowed here=2C an idea ? > > >>> > > > > >>> > > Ok=2C I'm asking too much now :-) > > >>> > > > > >>> > > Fr=E9d=E9ric THOMAS > > >>> > > > > >>> > > > Date: Thu=2C 14 May 2015 09:47:49 -0400 > > >>> > > > Subject: Re: [FlexJS] IntelliJ Integration > > >>> > > > From: teotigraphixllc@gmail.com > > >>> > > > To: dev@flex.apache.org > > >>> > > > > > >>> > > > Yes=2C exactly! > > >>> > > > > > >>> > > > Just imagine what we had with Randori and have it with FlexJS= =2C the > > >>> > > > warning/error pane that instantly went to to line number. :) > > >>> > > > > > >>> > > > Oh well=2C we can dream right! > > >>> > > > > > >>> > > > Mike > > >>> > > > > > >>> > > > On Thu=2C May 14=2C 2015 at 9:42 AM=2C Fr=E9d=E9ric THOMAS < > > >>> > > webdoublefx@hotmail.com> > > >>> > > > wrote: > > >>> > > > > > >>> > > > > That's great Mike we can work with IJ now even though the > > >>> workflow is > > >>> > > not > > >>> > > > > standard / smooth that's a good tradeoff waiting for more c= loser > > >>> IJ > > >>> > > > > integration. > > >>> > > > > > > >>> > > > > Thanks again=2C > > >>> > > > > Fr=E9d=E9ric THOMAS > > >>> > > > > > > >>> > > > > > From: webdoublefx@hotmail.com > > >>> > > > > > To: dev@flex.apache.org > > >>> > > > > > Subject: RE: [FlexJS] IntelliJ Integration > > >>> > > > > > Date: Thu=2C 14 May 2015 14:38:32 +0100 > > >>> > > > > > > > >>> > > > > > > 1. I downloaded the latest nightly > > >>> > > > > > > > >>> > > > > > It is not mandatory=2C it works with the one of the last = weeks > > >>> at me. > > >>> > > > > > > > >>> > > > > > Thanks > > >>> > > > > > Fr=E9d=E9ric THOMAS > > >>> > > > > > > > >>> > > > > > > Date: Thu=2C 14 May 2015 09:31:52 -0400 > > >>> > > > > > > Subject: Re: [FlexJS] IntelliJ Integration > > >>> > > > > > > From: teotigraphixllc@gmail.com > > >>> > > > > > > To: dev@flex.apache.org > > >>> > > > > > > > > >>> > > > > > > Fred I am using the Flex SDK debugger in 4.14.0 > > >>> > > > > > > > > >>> > > > > > > 1. I downloaded the latest nightly > > >>> > > > > > > 2. I built it=2C took about 4 minutes=2C the AIR sdk fo= r me takes > > >>> > > awhile to > > >>> > > > > > > download. (ant -f installer.xml) > > >>> > > > > > > 3. Create a new project and followed this video=3B > > >>> > > > > > > > > >>> > > > > > > https://www.youtube.com/watch?v=3DNBJEjIcfNs8 > > >>> > > > > > > > > >>> > > > > > > This is my debug target=3B > > >>> > > > > > > > > >>> > > > > > > http://snag.gy/3m5Ua.jpg > > >>> > > > > > > > > >>> > > > > > > Other than that it just works=2C took me about 3 hours = to get > > >>> to this > > >>> > > > > point. > > >>> > > > > > > > > >>> > > > > > > the FLEX_HOME and FALCON_HOME screwed me up until I rea= lized > > >>> I had > > >>> > > it > > >>> > > > > set > > >>> > > > > > > wrong because it was still pointing to the locations I > > >>> needed for > > >>> > > the > > >>> > > > > > > actuall compiler build. Once I change them to point to = the > > >>> nightly > > >>> > > > > built > > >>> > > > > > > FlexJS directory=2C it worked. > > >>> > > > > > > > > >>> > > > > > > Mike > > >>> > > > > > > > > >>> > > > > > > > > >>> > > > > > > On Thu=2C May 14=2C 2015 at 9:23 AM=2C Fr=E9d=E9ric THO= MAS < > > >>> > > > > webdoublefx@hotmail.com> > > >>> > > > > > > wrote: > > >>> > > > > > > > > >>> > > > > > > > Hi Mike=2C > > >>> > > > > > > > > > >>> > > > > > > > You should be able to use a normal lib instead=2C goo= d catch > > >>> !! > > >>> > > > > > > > > > >>> > > > > > > > What are the steps to debug inside IJ ? on mine=2C it > > >>> doesn't stop=2C > > >>> > > > > maybe I > > >>> > > > > > > > should update the FlexJS SDK ? I didn't follow the la= st > > >>> posts0 > > >>> > > > > > > > > > >>> > > > > > > > Thanks=2C > > >>> > > > > > > > Fr=E9d=E9ric THOMAS > > >>> > > > > > > > > > >>> > > > > > > > > Date: Thu=2C 14 May 2015 09:07:47 -0400 > > >>> > > > > > > > > Subject: Re: [FlexJS] IntelliJ Integration > > >>> > > > > > > > > From: teotigraphixllc@gmail.com > > >>> > > > > > > > > To: dev@flex.apache.org > > >>> > > > > > > > > > > >>> > > > > > > > > YES! This screenshot should make all IntelliJ users > > >>> happy that > > >>> > > > > want to > > >>> > > > > > > > get > > >>> > > > > > > > > the full meal deal with FlexJS. > > >>> > > > > > > > > > > >>> > > > > > > > > http://snag.gy/iLLrP.jpg > > >>> > > > > > > > > > > >>> > > > > > > > > - MXML/ActionScript code completion > > >>> > > > > > > > > - MXML strucutre view > > >>> > > > > > > > > - Breakpoints working for SWF build > > >>> > > > > > > > > - and the rest of the IntelliJ goodness. > > >>> > > > > > > > > > > >>> > > > > > > > > The secret sauce "for now" with code completion is = make a > > >>> > > global > > >>> > > > > library=2C > > >>> > > > > > > > > add all the SWCs to it and include that in your mod= ule=2C > > >>> voila=2C > > >>> > > you > > >>> > > > > have > > >>> > > > > > > > > code completion. > > >>> > > > > > > > > > > >>> > > > > > > > > Mike > > >>> > > > > > > > > > > >>> > > > > > > > > > > >>> > > > > > > > > On Thu=2C May 14=2C 2015 at 8:22 AM=2C Michael Schm= alle < > > >>> > > > > > > > teotigraphixllc@gmail.com > > >>> > > > > > > > > > wrote: > > >>> > > > > > > > > > > >>> > > > > > > > > > I tried everything you guys are doing and get=3B > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\bin\mxmlc.ba= t > > >>> > > > > > > > > > -debug=3Dtrue > > >>> > > > > > > > > > > > >>> > > > > > > > > > >>> > > > > > > >>> > > > > >>> C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\examples\DataBin= dingTest\src\MyInitialView.mxml > > >>> > > > > > > > > > Using Falcon codebase: > > >>> > > > > > > > > > > > >>> > > > > > > >>> C:\Users\Teoti\Documents\ApacheFlex\falcon\compiler\generated\dist\= sdk > > >>> > > > > > > > > > Using Flex SDK: C:\Users\Teoti\Documents\ApacheFl= ex\sdk > > >>> > > > > > > > > > Loading configuration: > > >>> > > > > > > > > > > > >>> > > > > > > >>> C:\Users\Teoti\Documents\ApacheFlex\sdk\frameworks\flex-config.xml > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > >>> > > > > > > >>> > > > > >>> C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\examples\DataBin= dingTest\src\MyInitialView.mxml:20 > > >>> > > > > > > > > > Error: This tag could not be resolved to an > > >>> ActionScript > > >>> > > class. > > >>> > > > > It > > >>> > > > > > > > will be > > >>> > > > > > > > > > ignored. > > >>> > > > > > > > > > > >>> > > > > > > > > > ^ > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > Process finished with exit code 2 > > >>> > > > > > > > > > > > >>> > > > > > > > > > I don't know why it's trying to load the wrong > > >>> flex-config > > >>> > > and > > >>> > > > > you guys > > >>> > > > > > > > > > have it working. > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > On Thu=2C May 14=2C 2015 at 6:48 AM=2C kevin.gode= ll < > > >>> > > > > kevin.godell@gmail.com> > > >>> > > > > > > > > > wrote: > > >>> > > > > > > > > > > > >>> > > > > > > > > >> Alex Harui wrote > > >>> > > > > > > > > >> > On 5/13/15=2C 10:10 PM=2C "piotrz" < > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> > piotrzarzycki21@ > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> > > wrote: > > >>> > > > > > > > > >> > > > >>> > > > > > > > > >> >>Mike=2C > > >>> > > > > > > > > >> >> > > >>> > > > > > > > > >> >>Great idea to reach someone from Jetbrains we > > >>> really need > > >>> > > > > some help > > >>> > > > > > > > from > > >>> > > > > > > > > >> >>that point from them. Thank you! > > >>> > > > > > > > > >> > > > >>> > > > > > > > > >> > Alexander Doroshko is still subscribed as of A= pril > > >>> so > > >>> > > maybe > > >>> > > > > he just > > >>> > > > > > > > > >> hasn=92t > > >>> > > > > > > > > >> > noticed this thread. > > >>> > > > > > > > > >> > > > >>> > > > > > > > > >> >> > > >>> > > > > > > > > >> >>Maybe I will describe our current problems: > > >>> > > > > > > > > >> >> > > >>> > > > > > > > > >> >>1) We have successfully configured External To= ols > > >>> both on > > >>> > > Mac > > >>> > > > > OSX > > >>> > > > > > > > > >> (Thanks > > >>> > > > > > > > > >> >>Kevin!) and Win [1] > > >>> > > > > > > > > >> >>2) Once we use FlexJS in section "Use debugger= from > > >>> SDK" > > >>> > > we > > >>> > > > > are > > >>> > > > > > > > getting > > >>> > > > > > > > > >> >>following error [2] > > >>> > > > > > > > > >> >>3) Once we change it in section "Use debugger = from > > >>> SDK" > > >>> > > from > > >>> > > > > FlexJS > > >>> > > > > > > > to > > >>> > > > > > > > > >> >>Flex > > >>> > > > > > > > > >> >>SDK our debugger is working fine. Take a look = at > > >>> film > > >>> > > created > > >>> > > > > by > > >>> > > > > > > > Kevin > > >>> > > > > > > > > >> [3] > > >>> > > > > > > > > >> >>especially at 3:48 and compare console output = with > > >>> mine > > >>> > > from > > >>> > > > > FlexJS. > > >>> > > > > > > > > >> >>-classpath in mine output is different. > > >>> > > > > > > > > >> > > > >>> > > > > > > > > >> > Have you tried the latest combination of chang= ing > > >>> the > > >>> > > version > > >>> > > > > of > > >>> > > > > > > > > >> > flex-sdk-description.xml in the FlexJS folder= as > > >>> well as > > >>> > > > > copying > > >>> > > > > > > > the > > >>> > > > > > > > > >> > fdb.jar=2C swfutils.jar and asc.jar from the F= lex SDK? > > >>> > > > > > > > > >> > > > >>> > > > > > > > > >> > Thanks=2C > > >>> > > > > > > > > >> > -Alex > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> I tried it with the 3 files copied and the > > >>> > > > > flex-sdk-description.xml > > >>> > > > > > > > edited > > >>> > > > > > > > > >> to show 4.15.0. Still failed=2C but atleast the = error > > >>> message > > >>> > > got > > >>> > > > > > > > smaller: > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> > > >>> > > > > > > > > > >>> > > > > > > >>> > > > > >>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bi= n/java > > >>> > > > > > > > > >> -d32 > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> > > >>> > > > > > > > > > >>> > > > > > > >>> > > > > >>> -Dapplication.home=3D/Users/kevinGodell/Documents/flexJS-nightly_ai= r-17_fp-17 > > >>> > > > > > > > > >> -Dfile.encoding=3DUTF-8 -Djava.awt.headless=3Dtr= ue > > >>> > > > > -Duser.language=3Den > > >>> > > > > > > > > >> -Duser.region=3Den -Xmx512m -classpath > > >>> "/Applications/IntelliJ > > >>> > > > > IDEA > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> > > >>> > > > > > > > > > >>> > > > > > > >>> > > > > >>> 14.app/Contents/plugins/flex/lib/idea-fdb-4.0.0.14159-fix.jar:/User= s/kevinGodell/Documents/flexJS-nightly_air-17_fp-17/lib/fdb.jar" > > >>> > > > > > > > > >> flex.tools.debugger.cli.DebugCLI > > >>> > > > > > > > > >> Exception in thread "main" > > >>> java.lang.IllegalAccessError: > > >>> > > tried > > >>> > > > > to > > >>> > > > > > > > access > > >>> > > > > > > > > >> method flex.tools.debugger.cli.FaultActions.()V > > >>> from > > >>> > > class > > >>> > > > > > > > > >> flex.tools.debugger.cli.DebugCLI > > >>> > > > > > > > > >> at > > >>> > > > > flex.tools.debugger.cli.DebugCLI.(DebugCLI.java:381) > > >>> > > > > > > > > >> at > > >>> > > > > flex.tools.debugger.cli.DebugCLI.main(DebugCLI.java:318) > > >>> > > > > > > > > >> java.io.IOException: Stream closed > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> > > >>> > > > > > > > > >> -- > > >>> > > > > > > > > >> View this message in context: > > >>> > > > > > > > > >> > > >>> > > > > > > > > > >>> > > > > > > >>> > > > > >>> http://apache-flex-development.2333347.n4.nabble.com/Re-FlexJS-Inte= lliJ-Integration-tp46486p46504.html > > >>> > > > > > > > > >> Sent from the Apache Flex Development mailing li= st > > >>> archive > > >>> > > at > > >>> > > > > > > > Nabble.com. > > >>> > > > > > > > > >> > > >>> > > > > > > > > > > > >>> > > > > > > > > > > > >>> > > > > > > > > > >>> > > > > > > > > > >>> > > > > > > > >>> > > > > > > >>> > > > > > > >>> > > > > >>> > > > > >>> > > >>> > > >> > > >> > > > > =20 = --_f7156fcc-491f-4a64-9ed4-9ba8f80681be_--