flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OmPrakash Muppirala <bigosma...@gmail.com>
Subject Re: [FlexJS] IntelliJ Integration
Date Thu, 14 May 2015 17:40:43 GMT
On Thu, May 14, 2015 at 10:20 AM, Frédéric THOMAS <webdoublefx@hotmail.com>
wrote:

> > @Fred, I never got the errors you did with my setup, I wonder what was
> > different, you still get the 100% Red lines the way you have it right now
> > correct?
>
> Yes Mike, it is an IntelliJ inspection thing only I guess.
>
> > There are a couple ways we can hack a setup right now but everything
> works.
>
> Yes, the reason why before to write a wiki, I would like some others to
> try both of the approaches and have feedback on what is the more
> convenient, I would like to have the Alex point of view too as he has the
> large picture.
>
>
Fantastic job, guys!

I would like to follow you guys and set up FlexJS with IntelliJ IDEA.  I
have tried my best to follow this thread, but I am not sure what exactly I
need to do.  Can you please summarize the steps in this thread?

Thanks,
Om



> Thanks,
> Frédéric THOMAS
>
> > Date: Thu, 14 May 2015 13:14:14 -0400
> > Subject: Re: [FlexJS] IntelliJ Integration
> > From: teotigraphixllc@gmail.com
> > To: dev@flex.apache.org
> >
> > @Alex, for the moment I am still trying to repeat a bunch of stuff to see
> > what breaks and what doesn't. Fred might have a better way to setup a
> > project but he is overlaying FlexJS on and sdk from what I gather and I
> am
> > just using the FlexJS nightly built with Flex SDK 4.1.4.
> >
> > There are a couple ways we can hack a setup right now but everything
> works.
> >
> > One thing that sucks is the width="100%" attribute in MXML, IJ thinks
> width
> > should be a Number and has no clue about the PercentProxy metadata. What
> do
> > you think?
> >
> > @Fred, I never got the errors you did with my setup, I wonder what was
> > different, you still get the 100% Red lines the way you have it right now
> > correct?
> >
> > Mike
> >
> > On Thu, May 14, 2015 at 1:05 PM, Frédéric THOMAS <
> webdoublefx@hotmail.com>
> > wrote:
> >
> > > Mike,
> > >
> > > The good trick before installing the IDEA Plugin for debugging is this:
> > >
> > > https://twitter.com/webDoubleFx/status/584413022350876672/photo/1
> > >
> > > Frédéric THOMAS
> > >
> > > > Date: Thu, 14 May 2015 12:57:41 -0400
> > > > Subject: Re: [FlexJS] IntelliJ Integration
> > > > From: teotigraphixllc@gmail.com
> > > > To: dev@flex.apache.org
> > > >
> > > > Haha, Yeah I was just using firefox and testing breakpoints. I need
> to
> > > > instal Chrome so I can just use IJ. :)
> > > >
> > > > Well the foundation has been setup now. I am going to spend my free
> time
> > > > studying the framework that has been built and the lower level stuff,
> > > while
> > > > looking at what Alex has done to the compiler.
> > > >
> > > > This is so awesome, even if it's a hobby thing right now, having
> > > everything
> > > > working all the way to javascript, I can now get back into the
> compiler
> > > and
> > > > know exactly what is going on in the emitter stage(MXML part). The
> > > > actionscript sure does look nice in the debug build. ;-)
> > > >
> > > > Mike
> > > >
> > > > On Thu, May 14, 2015 at 12:49 PM, Frédéric THOMAS <
> > > webdoublefx@hotmail.com>
> > > > wrote:
> > > >
> > > > > Me too and debugging with chrome :D
> > > > >
> > > > > http://snag.gy/i2xpo.jpg
> > > > >
> > > > > Frédéric THOMAS
> > > > >
> > > > > > Date: Thu, 14 May 2015 12:16:48 -0400
> > > > > > Subject: Re: [FlexJS] IntelliJ Integration
> > > > > > From: teotigraphixllc@gmail.com
> > > > > > To: dev@flex.apache.org
> > > > > >
> > > > > > Well I feel like all this time has been worth it. About 2 days
> to get
> > > > > > everything built from compiler to flexjs and running in IntelliJ.
> > > > > >
> > > > > > The final screenshot for me;
> > > > > >
> > > > > > http://snag.gy/awMjH.jpg
> > > > > >
> > > > > > It's working in Firefox.
> > > > > >
> > > > > > I have a bout 100 questions for Alex but I think I will wait and
> > > figure
> > > > > out
> > > > > > what a plan of attack it first.
> > > > > >
> > > > > > Mike
> > > > > >
> > > > > >
> > > > > > On Thu, May 14, 2015 at 11:45 AM, Michael Schmalle <
> > > > > > teotigraphixllc@gmail.com> wrote:
> > > > > >
> > > > > > > I have been trying some of the examples seems about half are
> > > broken.
> > > > > > >
> > > > > > > One thing that sucks right now is IJ sees
> > > > > > >
> > > > > > > <js:Label width="100%"
> > > > > > >
> > > > > > > and barfs, it thinks and rightly so, width has to be a Number.
> this
> > > > > goes
> > > > > > > back to FlashBuilder majic Alex?
> > > > > > >
> > > > > > > Honestly, the tool shouldn't have to infer by some weird coding
> > > that
> > > > > there
> > > > > > > is a conversion, something needs to be done about this.
> > > > > > >
> > > > > > > What happens in the Flex SDK width..?
> > > > > > >
> > > > > > > Mike
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Thu, May 14, 2015 at 11:40 AM, Frédéric THOMAS <
> > > > > webdoublefx@hotmail.com
> > > > > > > > wrote:
> > > > > > >
> > > > > > >> Yeah, it was my first try, the reason why I changed is
> because you
> > > > > need
> > > > > > >> it opened in the the IDE and having the focus on it.
> > > > > > >>
> > > > > > >> The second way with the module is the same, you need the
> module
> > > where
> > > > > the
> > > > > > >> main mxml file you want to comple be focused, in more the mxml
> > > file
> > > > > needs
> > > > > > >> to have the same name than you module.
> > > > > > >>
> > > > > > >> My way is based on the source files and I need to name the
> mxml
> > > file I
> > > > > > >> want to compile.
> > > > > > >>
> > > > > > >> None are perfect, it is more a matter of choice.
> > > > > > >>
> > > > > > >> > > > Well anyway, we will get it all worked out.
> > > > > > >>
> > > > > > >> Yeah man and you've been good finding first a way ;-)
> > > > > > >>
> > > > > > >> Frédéric THOMAS
> > > > > > >>
> > > > > > >> > Date: Thu, 14 May 2015 11:32:31 -0400
> > > > > > >> > Subject: Re: [FlexJS] IntelliJ Integration
> > > > > > >> > From: teotigraphixllc@gmail.com
> > > > > > >> > To: dev@flex.apache.org
> > > > > > >> >
> > > > > > >> > For me this is the easiest way for now.
> > > > > > >> >
> > > > > > >> > http://snag.gy/ZC4Zi.jpg
> > > > > > >> >
> > > > > > >> > Just need to have the main mxml file in focus and it will
> launch
> > > > > from
> > > > > > >> any
> > > > > > >> > module inside the project.
> > > > > > >> >
> > > > > > >> > Mike
> > > > > > >> >
> > > > > > >> > On Thu, May 14, 2015 at 11:24 AM, Frédéric THOMAS <
> > > > > > >> webdoublefx@hotmail.com>
> > > > > > >> > wrote:
> > > > > > >> >
> > > > > > >> > > > That is pretty much what I am doing minus, the -config
> > > compiler
> > > > > arg.
> > > > > > >> > >
> > > > > > >> > > I mean I overlay a FlexJS on top of a Flex SDK using
> FlexJS
> > > as a
> > > > > Lib
> > > > > > >> > > instead of using the Flex SDK as a Lib and it work fine
> like
> > > that
> > > > > for
> > > > > > >> me.
> > > > > > >> > >
> > > > > > >> > > > The way you have the external tool means you would have
> to
> > > set
> > > > > one
> > > > > > >> up for
> > > > > > >> > > > each module, say you wanted all the examples in one
> project,
> > > > > what
> > > > > > >> is the
> > > > > > >> > > > best way to setup the tool?
> > > > > > >> > >
> > > > > > >> > > It is not ideal but I've seen no way to set the Main
> class of
> > > the
> > > > > > >> build
> > > > > > >> > > configuration, I can choose its name based on the current
> > > module
> > > > > name
> > > > > > >> or in
> > > > > > >> > > the way I did but at the moment, I didn't find better.
> > > > > > >> > >
> > > > > > >> > > You ?
> > > > > > >> > >
> > > > > > >> > > Frédéric THOMAS
> > > > > > >> > >
> > > > > > >> > > > Date: Thu, 14 May 2015 11:16:30 -0400
> > > > > > >> > > > Subject: Re: [FlexJS] IntelliJ Integration
> > > > > > >> > > > From: teotigraphixllc@gmail.com
> > > > > > >> > > > To: dev@flex.apache.org
> > > > > > >> > > >
> > > > > > >> > > > That is pretty much what I am doing minus, the -config
> > > compiler
> > > > > arg.
> > > > > > >> > > >
> > > > > > >> > > > I have the project using the global library.
> > > > > > >> > > >
> > > > > > >> > > > Well anyway, we will get it all worked out.
> > > > > > >> > > >
> > > > > > >> > > > The way you have the external tool means you would have
> to
> > > set
> > > > > one
> > > > > > >> up for
> > > > > > >> > > > each module, say you wanted all the examples in one
> project,
> > > > > what
> > > > > > >> is the
> > > > > > >> > > > best way to setup the tool?
> > > > > > >> > > >
> > > > > > >> > > > Mike
> > > > > > >> > > >
> > > > > > >> > > > On Thu, May 14, 2015 at 11:10 AM, Frédéric THOMAS <
> > > > > > >> > > webdoublefx@hotmail.com>
> > > > > > >> > > > wrote:
> > > > > > >> > > >
> > > > > > >> > > > > Sorry for the first link, you should have that
> instead at
> > > the
> > > > > > >> begining
> > > > > > >> > > > > http://snag.gy/jY42F.jpg
> > > > > > >> > > > >
> > > > > > >> > > > > Frédéric THOMAS
> > > > > > >> > > > >
> > > > > > >> > > > > > From: webdoublefx@hotmail.com
> > > > > > >> > > > > > To: dev@flex.apache.org
> > > > > > >> > > > > > Subject: RE: [FlexJS] IntelliJ Integration
> > > > > > >> > > > > > Date: Thu, 14 May 2015 16:06:23 +0100
> > > > > > >> > > > > >
> > > > > > >> > > > > > Hi Mike,
> > > > > > >> > > > > >
> > > > > > >> > > > > > At the end I've got another integration that works
> > > better
> > > > > for
> > > > > > >> me at
> > > > > > >> > > the
> > > > > > >> > > > > moment, I mean clearing the last IJ error I had.
> > > > > > >> > > > > >
> > > > > > >> > > > > > choose a Flex SDK for your FlexJS Project:
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/P8zN4.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > Set the load config to FlexJS:
> > > > > > >> > > > > > eg. for me:
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> -load-config=D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\flex-config.xml
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/GGnx3.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > Add FlexJS as a new global Lib to you project
> (global
> > > will
> > > > > > >> allow to
> > > > > > >> > > > > reuse it for other projects)
> > > > > > >> > > > > > eg.
> D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/p5EnA.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > Apply it to your project when asked for
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/rhD8f.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > rename it to FlexJS 0.0.3, go back to you module,
> you
> > > > > should see
> > > > > > >> > > this:
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/eUKJd.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > Select the debugger from FlexJS and setup the
> external
> > > tool:
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/GrqHX.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > And you should be able to debug:
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/mO1jN.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > Without any IJ error:
> > > > > > >> > > > > >
> > > > > > >> > > > > > http://snag.gy/6iWON.jpg
> > > > > > >> > > > > >
> > > > > > >> > > > > > HTH
> > > > > > >> > > > > > Frédéric THOMAS
> > > > > > >> > > > > >
> > > > > > >> > > > > > > Date: Thu, 14 May 2015 10:39:10 -0400
> > > > > > >> > > > > > > Subject: Re: [FlexJS] IntelliJ Integration
> > > > > > >> > > > > > > From: teotigraphixllc@gmail.com
> > > > > > >> > > > > > > To: dev@flex.apache.org
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > One other note to those trying to set this up; The
> > > library
> > > > > > >> needs
> > > > > > >> > > to be
> > > > > > >> > > > > > > setup like in the screenshot below to get open
> > > > > > >> declaration(middle
> > > > > > >> > > mouse
> > > > > > >> > > > > > > button) and documentation asdocs(CTRL - Q) to show
> > > > > correctly.
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Select LibrarySource for all paths;
> > > > > > >> > > > > > > http://snag.gy/0nEcL.jpg
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Setup correct;
> > > > > > >> > > > > > > http://snag.gy/SyzA4.jpg
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > The you get nice asdocs for all FlexJS;
> > > > > > >> > > > > > > http://snag.gy/GvfgR.jpg
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > And new in IJ 4.1 ! Awesome debugging, you can
> see the
> > > > > values
> > > > > > >> to
> > > > > > >> > > the
> > > > > > >> > > > > right
> > > > > > >> > > > > > > of all properties and variables, Alex this is one
> > > reason
> > > > > to
> > > > > > >> use IJ
> > > > > > >> > > for
> > > > > > >> > > > > dev.
> > > > > > >> > > > > > > http://snag.gy/6O3vr.jpg
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Mike
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > On Thu, May 14, 2015 at 10:16 AM, Michael
> Schmalle <
> > > > > > >> > > > > > > teotigraphixllc@gmail.com> wrote:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > > The Flex SDK is where IJ picks up the fx
> namespace
> > > and
> > > > > the
> > > > > > >> FlexJS
> > > > > > >> > > > > SWCS is
> > > > > > >> > > > > > > > where it gets the js namespaces. So we are
> totally
> > > hack
> > > > > > >> right now
> > > > > > >> > > > > but, it's
> > > > > > >> > > > > > > > workable.
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > Mike
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > > On Thu, May 14, 2015 at 10:15 AM, Michael
> Schmalle <
> > > > > > >> > > > > > > > teotigraphixllc@gmail.com> wrote:
> > > > > > >> > > > > > > >
> > > > > > >> > > > > > > >> Make sure you have a valid Flex SDK selected
> for
> > > the
> > > > > > >> modules's
> > > > > > >> > > SDK,
> > > > > > >> > > > > the
> > > > > > >> > > > > > > >> FlexJS won't work right now.
> > > > > > >> > > > > > > >>
> > > > > > >> > > > > > > >> On Thu, May 14, 2015 at 10:13 AM, Frédéric
> THOMAS <
> > > > > > >> > > > > > > >> webdoublefx@hotmail.com> wrote:
> > > > > > >> > > > > > > >>
> > > > > > >> > > > > > > >>> Didn't work on mine :(
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > > > > >>> http://snag.gy/bc79p.jpg
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > > > > >>> Frédéric THOMAS
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > > > > >>> > Date: Thu, 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
> <mx:Script>
> > > at
> > > > > the
> > > > > > >> > > bottom of
> > > > > > >> > > > > the
> > > > > > >> > > > > > > >>> > document, I moved it to where it is in the
> > > > > screenshot
> > > > > > >> and
> > > > > > >> > > all is
> > > > > > >> > > > > fine
> > > > > > >> > > > > > > >>> on my
> > > > > > >> > > > > > > >>> > end.
> > > > > > >> > > > > > > >>> >
> > > > > > >> > > > > > > >>> > http://snag.gy/vAlz2.jpg
> > > > > > >> > > > > > > >>> >
> > > > > > >> > > > > > > >>> > Mike
> > > > > > >> > > > > > > >>> >
> > > > > > >> > > > > > > >>> > On Thu, May 14, 2015 at 9:53 AM, Frédéric
> > > THOMAS <
> > > > > > >> > > > > > > >>> webdoublefx@hotmail.com>
> > > > > > >> > > > > > > >>> > wrote:
> > > > > > >> > > > > > > >>> >
> > > > > > >> > > > > > > >>> > > Yep would be nice :-)
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>> > > One thing I noticed though, is in the
> > > > > js:Application:
> > > > > > >> > > > > > > >>> > >
> initialize="MyModel(model).stockSymbol='ADBE'"
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>> > > It is not reconized and once imported, IJ
> > > > > complaines
> > > > > > >> the
> > > > > > >> > > > > fx:Script
> > > > > > >> > > > > > > >>> element
> > > > > > >> > > > > > > >>> > > is not allowed here, an idea ?
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>> > > Ok, I'm asking too much now :-)
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>> > > Frédéric THOMAS
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>> > > > Date: Thu, 14 May 2015 09:47:49 -0400
> > > > > > >> > > > > > > >>> > > > Subject: Re: [FlexJS] IntelliJ
> Integration
> > > > > > >> > > > > > > >>> > > > From: teotigraphixllc@gmail.com
> > > > > > >> > > > > > > >>> > > > To: dev@flex.apache.org
> > > > > > >> > > > > > > >>> > > >
> > > > > > >> > > > > > > >>> > > > Yes, exactly!
> > > > > > >> > > > > > > >>> > > >
> > > > > > >> > > > > > > >>> > > > Just imagine what we had with Randori
> and
> > > have
> > > > > it
> > > > > > >> with
> > > > > > >> > > > > FlexJS, the
> > > > > > >> > > > > > > >>> > > > warning/error pane that instantly went
> to to
> > > > > line
> > > > > > >> > > number. :)
> > > > > > >> > > > > > > >>> > > >
> > > > > > >> > > > > > > >>> > > > Oh well, we can dream right!
> > > > > > >> > > > > > > >>> > > >
> > > > > > >> > > > > > > >>> > > > Mike
> > > > > > >> > > > > > > >>> > > >
> > > > > > >> > > > > > > >>> > > > On Thu, May 14, 2015 at 9:42 AM,
> Frédéric
> > > > > 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
> > > > > > >> > > > > closer
> > > > > > >> > > > > > > >>> IJ
> > > > > > >> > > > > > > >>> > > > > integration.
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > > > > Thanks again,
> > > > > > >> > > > > > > >>> > > > > Frédéric THOMAS
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > > > > > From: webdoublefx@hotmail.com
> > > > > > >> > > > > > > >>> > > > > > To: dev@flex.apache.org
> > > > > > >> > > > > > > >>> > > > > > Subject: RE: [FlexJS] IntelliJ
> > > Integration
> > > > > > >> > > > > > > >>> > > > > > Date: Thu, 14 May 2015 14:38:32
> +0100
> > > > > > >> > > > > > > >>> > > > > >
> > > > > > >> > > > > > > >>> > > > > > > 1. I downloaded the latest nightly
> > > > > > >> > > > > > > >>> > > > > >
> > > > > > >> > > > > > > >>> > > > > > It is not mandatory, it works with
> the
> > > one
> > > > > of
> > > > > > >> the
> > > > > > >> > > last
> > > > > > >> > > > > weeks
> > > > > > >> > > > > > > >>> at me.
> > > > > > >> > > > > > > >>> > > > > >
> > > > > > >> > > > > > > >>> > > > > > Thanks
> > > > > > >> > > > > > > >>> > > > > > Frédéric THOMAS
> > > > > > >> > > > > > > >>> > > > > >
> > > > > > >> > > > > > > >>> > > > > > > Date: Thu, 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, took about 4
> minutes,
> > > the
> > > > > AIR
> > > > > > >> sdk
> > > > > > >> > > for
> > > > > > >> > > > > me takes
> > > > > > >> > > > > > > >>> > > awhile to
> > > > > > >> > > > > > > >>> > > > > > > download. (ant -f installer.xml)
> > > > > > >> > > > > > > >>> > > > > > > 3. Create a new project and
> followed
> > > this
> > > > > > >> video;
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > https://www.youtube.com/watch?v=NBJEjIcfNs8
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > This is my debug target;
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > http://snag.gy/3m5Ua.jpg
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > Other than that it just works,
> took me
> > > > > about 3
> > > > > > >> > > hours
> > > > > > >> > > > > to get
> > > > > > >> > > > > > > >>> to this
> > > > > > >> > > > > > > >>> > > > > point.
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > the FLEX_HOME and FALCON_HOME
> screwed
> > > me
> > > > > up
> > > > > > >> until I
> > > > > > >> > > > > realized
> > > > > > >> > > > > > > >>> 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, it worked.
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > Mike
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > On Thu, May 14, 2015 at 9:23 AM,
> > > Frédéric
> > > > > > >> THOMAS <
> > > > > > >> > > > > > > >>> > > > > webdoublefx@hotmail.com>
> > > > > > >> > > > > > > >>> > > > > > > wrote:
> > > > > > >> > > > > > > >>> > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > Hi Mike,
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > You should be able to use a
> normal
> > > lib
> > > > > > >> instead,
> > > > > > >> > > good
> > > > > > >> > > > > catch
> > > > > > >> > > > > > > >>> !!
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > What are the steps to debug
> inside
> > > IJ ?
> > > > > on
> > > > > > >> mine,
> > > > > > >> > > it
> > > > > > >> > > > > > > >>> doesn't stop,
> > > > > > >> > > > > > > >>> > > > > maybe I
> > > > > > >> > > > > > > >>> > > > > > > > should update the FlexJS SDK ? I
> > > didn't
> > > > > > >> follow
> > > > > > >> > > the
> > > > > > >> > > > > last
> > > > > > >> > > > > > > >>> posts0
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > Thanks,
> > > > > > >> > > > > > > >>> > > > > > > > Frédéric THOMAS
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > Date: Thu, 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,
> > > > > > >> > > > > > > >>> > > > > > > > > add all the SWCs to it and
> include
> > > > > that
> > > > > > >> in your
> > > > > > >> > > > > module,
> > > > > > >> > > > > > > >>> voila,
> > > > > > >> > > > > > > >>> > > you
> > > > > > >> > > > > > > >>> > > > > have
> > > > > > >> > > > > > > >>> > > > > > > > > code completion.
> > > > > > >> > > > > > > >>> > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > Mike
> > > > > > >> > > > > > > >>> > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > On Thu, May 14, 2015 at 8:22
> AM,
> > > > > Michael
> > > > > > >> > > Schmalle <
> > > > > > >> > > > > > > >>> > > > > > > > teotigraphixllc@gmail.com
> > > > > > >> > > > > > > >>> > > > > > > > > > wrote:
> > > > > > >> > > > > > > >>> > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > > I tried everything you guys
> are
> > > > > doing
> > > > > > >> and
> > > > > > >> > > get;
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > >
> > > > > C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\bin\mxmlc.bat
> > > > > > >> > > > > > > >>> > > > > > > > > > -debug=true
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\examples\DataBindingTest\src\MyInitialView.mxml
> > > > > > >> > > > > > > >>> > > > > > > > > > Using Falcon codebase:
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > >
> > > > > > >>
> > > C:\Users\Teoti\Documents\ApacheFlex\falcon\compiler\generated\dist\sdk
> > > > > > >> > > > > > > >>> > > > > > > > > > Using Flex SDK:
> > > > > > >> > > > > C:\Users\Teoti\Documents\ApacheFlex\sdk
> > > > > > >> > > > > > > >>> > > > > > > > > > Loading configuration:
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > >
> > > C:\Users\Teoti\Documents\ApacheFlex\sdk\frameworks\flex-config.xml
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> C:\Users\Teoti\Documents\ApacheFlex\FlexJS-Nightly\examples\DataBindingTest\src\MyInitialView.mxml:20
> > > > > > >> > > > > > > >>> > > > > > > > > > Error: This tag could not be
> > > > > resolved
> > > > > > >> to an
> > > > > > >> > > > > > > >>> ActionScript
> > > > > > >> > > > > > > >>> > > class.
> > > > > > >> > > > > > > >>> > > > > It
> > > > > > >> > > > > > > >>> > > > > > > > will be
> > > > > > >> > > > > > > >>> > > > > > > > > > ignored.
> > > > > > >> > > > > > > >>> > > > > > > > > > <js:ViewBase xmlns:fx="
> > > > > > >> > > > > http://ns.adobe.com/mxml/2009"
> > > > > > >> > > > > > > >>> > > > > > > > > > ^
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > > 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, May 14, 2015 at
> 6:48 AM,
> > > > > > >> > > kevin.godell <
> > > > > > >> > > > > > > >>> > > > > kevin.godell@gmail.com>
> > > > > > >> > > > > > > >>> > > > > > > > > > wrote:
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > >> Alex Harui wrote
> > > > > > >> > > > > > > >>> > > > > > > > > >> > On 5/13/15, 10:10 PM,
> > > "piotrz" <
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > > > >> > piotrzarzycki21@
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > > > >> > > wrote:
> > > > > > >> > > > > > > >>> > > > > > > > > >> >
> > > > > > >> > > > > > > >>> > > > > > > > > >> >>Mike,
> > > > > > >> > > > > > > >>> > > > > > > > > >> >>
> > > > > > >> > > > > > > >>> > > > > > > > > >> >>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
> > > > > > >> > > > > April
> > > > > > >> > > > > > > >>> so
> > > > > > >> > > > > > > >>> > > maybe
> > > > > > >> > > > > > > >>> > > > > he just
> > > > > > >> > > > > > > >>> > > > > > > > > >> hasn’t
> > > > > > >> > > > > > > >>> > > > > > > > > >> > noticed this thread.
> > > > > > >> > > > > > > >>> > > > > > > > > >> >
> > > > > > >> > > > > > > >>> > > > > > > > > >> >>
> > > > > > >> > > > > > > >>> > > > > > > > > >> >>Maybe I will describe our
> > > current
> > > > > > >> > > problems:
> > > > > > >> > > > > > > >>> > > > > > > > > >> >>
> > > > > > >> > > > > > > >>> > > > > > > > > >> >>1) We have successfully
> > > > > configured
> > > > > > >> > > External
> > > > > > >> > > > > Tools
> > > > > > >> > > > > > > >>> 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
> > > > > > >> > > > > changing
> > > > > > >> > > > > > > >>> the
> > > > > > >> > > > > > > >>> > > version
> > > > > > >> > > > > > > >>> > > > > of
> > > > > > >> > > > > > > >>> > > > > > > > > >> > flex-sdk-description.xml
> in
> > > the
> > > > > > >> FlexJS
> > > > > > >> > > > > folder as
> > > > > > >> > > > > > > >>> well as
> > > > > > >> > > > > > > >>> > > > > copying
> > > > > > >> > > > > > > >>> > > > > > > > the
> > > > > > >> > > > > > > >>> > > > > > > > > >> > fdb.jar, swfutils.jar and
> > > asc.jar
> > > > > > >> from the
> > > > > > >> > > > > Flex SDK?
> > > > > > >> > > > > > > >>> > > > > > > > > >> >
> > > > > > >> > > > > > > >>> > > > > > > > > >> > Thanks,
> > > > > > >> > > > > > > >>> > > > > > > > > >> > -Alex
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > > > >> I tried it with the 3 files
> > > copied
> > > > > and
> > > > > > >> the
> > > > > > >> > > > > > > >>> > > > > flex-sdk-description.xml
> > > > > > >> > > > > > > >>> > > > > > > > edited
> > > > > > >> > > > > > > >>> > > > > > > > > >> to show 4.15.0. Still
> failed,
> > > but
> > > > > > >> atleast
> > > > > > >> > > the
> > > > > > >> > > > > error
> > > > > > >> > > > > > > >>> message
> > > > > > >> > > > > > > >>> > > got
> > > > > > >> > > > > > > >>> > > > > > > > smaller:
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
> > > > > > >> > > > > > > >>> > > > > > > > > >> -d32
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> -Dapplication.home=/Users/kevinGodell/Documents/flexJS-nightly_air-17_fp-17
> > > > > > >> > > > > > > >>> > > > > > > > > >> -Dfile.encoding=UTF-8
> > > > > > >> > > -Djava.awt.headless=true
> > > > > > >> > > > > > > >>> > > > > -Duser.language=en
> > > > > > >> > > > > > > >>> > > > > > > > > >> -Duser.region=en -Xmx512m
> > > > > -classpath
> > > > > > >> > > > > > > >>> "/Applications/IntelliJ
> > > > > > >> > > > > > > >>> > > > > IDEA
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >>
> > > > >
> > >
> 14.app/Contents/plugins/flex/lib/idea-fdb-4.0.0.14159-fix.jar:/Users/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.<init>()V
> > > > > > >> > > > > > > >>> from
> > > > > > >> > > > > > > >>> > > class
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > flex.tools.debugger.cli.DebugCLI
> > > > > > >> > > > > > > >>> > > > > > > > > >>         at
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > flex.tools.debugger.cli.DebugCLI.<init>(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-IntelliJ-Integration-tp46486p46504.html
> > > > > > >> > > > > > > >>> > > > > > > > > >> Sent from the Apache Flex
> > > > > Development
> > > > > > >> > > mailing
> > > > > > >> > > > > list
> > > > > > >> > > > > > > >>> archive
> > > > > > >> > > > > > > >>> > > at
> > > > > > >> > > > > > > >>> > > > > > > > Nabble.com.
> > > > > > >> > > > > > > >>> > > > > > > > > >>
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > > > > >
> > > > > > >> > > > > > > >>> > > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > > > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>> > >
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > > > > >>>
> > > > > > >> > > > > > > >>
> > > > > > >> > > > > > > >>
> > > > > > >> > > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > >
> > >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message