In the examples folder is a DataBindingTest_as folder that has no MXML if you want to try that.
-Alex On 5/8/15, 8:56 AM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote: >@Alex I must have been having a brain fart, I see no reason that IntelliJ >would hard code that stuff but it makes no sense at all why it's not >reading them correctly. > >The only key piece that is different is it's MXML and not an .as file. So >I >haven't tried to see if the classes resolve in a normal .as file > >Mike > >On Fri, May 8, 2015 at 11:49 AM, Alex Harui <aha...@adobe.com> wrote: > >> Gee, I would hope that IntelliJ wouldn’t hard code stuff like >>namespaces. >> If one of you has time, you could create a subclass of Spark Application >> and Spark Label into its own SWC with its own namespace and see if you >>can >> use that in an IntelliJ Flex “Hello World” project without any Spark or >>MX >> namespaces in the MXML, because that’s essentially what we are trying to >> do. >> >> I noticed from Piotr’s screenshot that it appears that IntelliJ has a >>few >> plug-ins for the flex-compiler and also add flex-oem-compiler.jar to the >> class path. FlexJS has a hacked up flex-oem-compiler.jar that has just >> enough stuff to fool FB into allowing it to compile FlexJS SWFS. It >>could >> be that we need a few more hacks there to make IntelliJ happy. >> >> I also noticed from Piotr’s screenshot that IntelliJ seems to be auto >> generating an XML file for the -load-config parameter. I would expect >>the >> “js” namespace and references to the right SWCs to be in that XML file. >> Maybe IntelliJ doesn’t know how to generate that from the >>flex-config.xml >> in FlexJS. >> >> If someone can post the contents of such an XML file it might contain >>some >> clues. >> >> Thanks, >> -Alex >> >> On 5/8/15, 3:39 AM, "Michael Schmalle" <teotigraphix...@gmail.com> >>wrote: >> >> >Ok, been to long, I am an idiot; >> > >> ><component className="spark.layouts:VerticalLayout" >>name="VerticalLayout" >> >uri="library://ns.adobe.com/flex/spark" /> >> > >> ><component className="org.apache.flex.charts:BarChart" name="BarChart" >> >uri="library://ns.apache.org/flexjs/basic"/> >> > >> >So actually, IntelliJ is not parsing the manifest or reading it >>crrectly. >> >There is no Difference with FlexJS and Spark's manifest and app >> >declarations. >> > >> >Mike >> > >> >On Fri, May 8, 2015 at 6:34 AM, Michael Schmalle >> ><teotigraphix...@gmail.com> >> >wrote: >> > >> >> Yeah, agreed, and since we don't know what JetBrains is doing... They >> >>must >> >> be hard coding the fx/spark namespaces in the SDK plugin code. That >> >>seems >> >> like the only reasonable answer to this. >> >> >> >> It's easy to map a package namespace dynamically but I am trying to >> >>think >> >> how a url would get mapped in a SWC since if I remember, there is no >> >> namespace definition of a url in the Flex SWC right? So if that is >>the >> >> case, a url would have to be hardcoded somewhere in IntelliJ's SDK >> >>plugin >> >> code. >> >> >> >> Mike >> >> >> >> On Fri, May 8, 2015 at 6:26 AM, Frédéric THOMAS >> >><webdoubl...@hotmail.com> >> >> wrote: >> >> >> >>> Yes, what I thought too and was wondering if we had a kind of same >> >>>thing >> >>> on Randori to manage, apparently not, so, it has to be done at some >> >>>point >> >>> for FlexJS if we go forward with IJ. >> >>> >> >>> Thanks, >> >>> Frédéric THOMAS >> >>> >> >>> > Date: Fri, 8 May 2015 06:10:31 -0400 >> >>> > Subject: Re: [FlexJS] Reaching out to IDE developers to support >> >>>FlexJS >> >>> > From: teotigraphix...@gmail.com >> >>> > To: dev@flex.apache.org >> >>> > >> >>> > Fred, I don't know exactly what you did int he plugin but if I >> >>>remember >> >>> > correctly, we were just unzipping the rbl, copying the swcs to the >> >>> > library/sdk location and adding the SWC to Intellij through the >> >>>plugin >> >>> > code. Nothing special about namespaces. >> >>> > >> >>> > But, the difference I do know is, we did not use a url for >>anything. >> >>>I >> >>> have >> >>> > a feeling the js namespace url is what is choking IntelliJ. >> >>> > >> >>> > Mike >> >>> > >> >>> > On Fri, May 8, 2015 at 5:55 AM, Frédéric THOMAS < >> >>> webdoubl...@hotmail.com> >> >>> > wrote: >> >>> > >> >>> > > Hi, >> >>> > > >> >>> > > > The red means that the IDE is not resolving the jx namespace. >>So >> >>>it >> >>> seems >> >>> > > > to be a SWC namespace problem where something is happening >>that >> >>> IntelliJ >> >>> > > > doesn't read and resolve the manifest correctly. >> >>> > > >> >>> > > You are right and that's 2 years or so I didn't touch the >>IntelliJ >> >>> API, >> >>> > > so, can't remember if we worked on the NS or not. >> >>> > > >> >>> > > > Why a plugin: Intellij has features that make creating >>projects >> >>>and >> >>> > > > dependencies easy. One reason, Fred can say I am wrong is to >> >>>define >> >>> a >> >>> > > > FlexJS SDK type that can be created. I am a bit rusty but I >>know >> >>> there >> >>> > > are >> >>> > > > benefits. >> >>> > > > >> >>> > > > You are also correct that it can be run as an external tool as >> >>> well. I >> >>> > > > guess it's just a matter of fiddling with things until >>something >> >>> works >> >>> > > and >> >>> > > > is not a workflow killer. >> >>> > > >> >>> > > Yep and now I'm not sure anymore, I still need to confirm or >> >>>infirm I >> >>> can >> >>> > > switch on Facet as I can't remember for sure how the Flex Plugin >> >>> considers >> >>> > > it is a Flex SDK or not, that's a long time and I will need to >>dig >> >>> into >> >>> > > again. >> >>> > > >> >>> > > One question for the Flash Develop guys though, how are the >> >>> intelli-sense >> >>> > > / refactoring / code navigation / hints and other IDE facilities >> >>> including >> >>> > > maven integration compared to IntelliJ, do we have a comparative >> >>> table ? >> >>> > > >> >>> > > Thanks, >> >>> > > Frédéric THOMAS >> >>> > > >> >>> > > > Date: Thu, 7 May 2015 11:29:43 -0400 >> >>> > > > Subject: Re: [FlexJS] Reaching out to IDE developers to >>support >> >>> FlexJS >> >>> > > > From: teotigraphix...@gmail.com >> >>> > > > To: dev@flex.apache.org >> >>> > > > >> >>> > > > The red means that the IDE is not resolving the jx namespace. >>So >> >>>it >> >>> seems >> >>> > > > to be a SWC namespace problem where something is happening >>that >> >>> IntelliJ >> >>> > > > doesn't read and resolve the manifest correctly. >> >>> > > > >> >>> > > > Why a plugin: Intellij has features that make creating >>projects >> >>>and >> >>> > > > dependencies easy. One reason, Fred can say I am wrong is to >> >>>define >> >>> a >> >>> > > > FlexJS SDK type that can be created. I am a bit rusty but I >>know >> >>> there >> >>> > > are >> >>> > > > benefits. >> >>> > > > >> >>> > > > You are also correct that it can be run as an external tool as >> >>> well. I >> >>> > > > guess it's just a matter of fiddling with things until >>something >> >>> works >> >>> > > and >> >>> > > > is not a workflow killer. >> >>> > > > >> >>> > > > On Thu, May 7, 2015 at 11:20 AM, Alex Harui <aha...@adobe.com> >> >>> wrote: >> >>> > > > >> >>> > > > > Hi Fred, >> >>> > > > > >> >>> > > > > Thanks for trying. One question though: why is a plug-in >>even >> >>> > > needed? I >> >>> > > > > was told by an IntelliJ engineer that they simply call >>mxmlc. >> >>>If >> >>> > > that’s >> >>> > > > > true, then it should “just work”. Piotr’s screenshot sort of >> >>> implied >> >>> > > that >> >>> > > > > the compiler may have run or does IntelliJ have a different >> >>> > > > > code-intelligence engine and that’s what we’re seeing in the >> >>> errors. >> >>> > > > > >> >>> > > > > @Piotr, am I right that the things in red in the screenshot >>are >> >>> errors? >> >>> > > > > What was the actual error output? >> >>> > > > > >> >>> > > > > -Alex >> >>> > > > > >> >>> > > > > On 5/7/15, 6:06 AM, "Frédéric THOMAS" >><webdoubl...@hotmail.com >> > >> >>> wrote: >> >>> > > > > >> >>> > > > > >Hi Mike, >> >>> > > > > > >> >>> > > > > >Yes I just started and it is on my little spare time but if >> >>>you >> >>> want >> >>> > > an >> >>> > > > > >idea of what's going on, you can try to compile it and you >> >>>will >> >>> see >> >>> > > > > >things have changed and I need to figure out what to use >>now >> >>> instead >> >>> > > of >> >>> > > > > >BrowsersConfiguaration, ModuleChunk, the deprecated >> >>> > > TranslatingCompiler, >> >>> > > > > >etc.. and at the moment I don't know yet where to find that >> >>>out >> >>> given >> >>> > > the >> >>> > > > > >poor documentation, will have to skim the source code I >>guess. >> >>> > > > > > >> >>> > > > > >Frédéric THOMAS >> >>> > > > > > >> >>> > > > > >> Date: Thu, 7 May 2015 07:58:28 -0400 >> >>> > > > > >> Subject: Re: [FlexJS] Reaching out to IDE developers to >> >>>support >> >>> > > FlexJS >> >>> > > > > >> From: teotigraphix...@gmail.com >> >>> > > > > >> To: dev@flex.apache.org >> >>> > > > > >> >> >>> > > > > >> Fred, I didn't know you were giving that a go. I don't >>have >> >>> enough >> >>> > > time >> >>> > > > > >>to >> >>> > > > > >> get into the plugin if that is what you are working on, >> >>>which >> >>> is >> >>> > > > > >>fantastic >> >>> > > > > >> if you are. But, I am willing to try and match your time >>if >> >>> you are >> >>> > > now >> >>> > > > > >> devoting (some)time to trying an Intellij plugin. >> >>> > > > > >> >> >>> > > > > >> I guess there is work to be done on FalconJx, I know >>when I >> >>> left >> >>> > > > > >>developing >> >>> > > > > >> it I had a bunch of todos left and unit tests to write. >>This >> >>> was my >> >>> > > > > >>whole >> >>> > > > > >> quandary, for the time I would have to donate, I need >> >>>Intellij >> >>> and >> >>> > > > > >>really >> >>> > > > > >> don't want to use FlashBuilder since it's crusty and >>gets no >> >>> love. >> >>> > > > > >> >> >>> > > > > >> Keep me updated with what you are doing. >> >>> > > > > >> >> >>> > > > > >> Mike >> >>> > > > > >> >> >>> > > > > >> >> >>> > > > > >> On Thu, May 7, 2015 at 7:36 AM, Frédéric THOMAS >> >>> > > > > >><webdoubl...@hotmail.com> >> >>> > > > > >> wrote: >> >>> > > > > >> >> >>> > > > > >> > Hi, >> >>> > > > > >> > >> >>> > > > > >> > A bit of updates: >> >>> > > > > >> > >> >>> > > > > >> > - I understood FlexJS got rid of the Flex SDK >> >>>depnedencies, >> >>> if >> >>> > > yes, I >> >>> > > > > >>will >> >>> > > > > >> > need to stick mostly on my same base code, can't use a >> >>>facet >> >>> > > AFAIK. >> >>> > > > > >> > - I've been trying to compile the Randori plugin >>against >> >>>the >> >>> last >> >>> > > > > >>IntelliJ >> >>> > > > > >> > but many things have changed in their code base and it >> >>> failed to >> >>> > > > > >>compile, >> >>> > > > > >> > will have to fix that first before to branch it. >> >>> > > > > >> > >> >>> > > > > >> > So, we are still far to have a working plugin at this >> >>>stage >> >>> and >> >>> > > given >> >>> > > > > >>the >> >>> > > > > >> > time I can spend on it. >> >>> > > > > >> > >> >>> > > > > >> > Any IntelliJ plugin guru to give a hand ? >> >>> > > > > >> > >> >>> > > > > >> > Thanks, >> >>> > > > > >> > Frédéric THOMAS >> >>> > > > > >> > >> >>> > > > > >> > > Date: Thu, 7 May 2015 03:00:30 -0700 >> >>> > > > > >> > > From: piotrzarzyck...@gmail.com >> >>> > > > > >> > > To: dev@flex.apache.org >> >>> > > > > >> > > Subject: Re: [FlexJS] Reaching out to IDE developers >>to >> >>> support >> >>> > > > > >>FlexJS >> >>> > > > > >> > > >> >>> > > > > >> > > Additionally I have checked also new version of >>FlexJS >> >>> with FDT >> >>> > > and >> >>> > > > > >>it >> >>> > > > > >> > > doesn't work anymore. >> >>> > > > > >> > > I have error during to compilation that FlexJS.swc >> >>>doesn't >> >>> > > exists - >> >>> > > > > >>We >> >>> > > > > >> > have >> >>> > > > > >> > > currently bunch of swcs. >> >>> > > > > >> > > >> >>> > > > > >> > > I am not sure do we need to contact with FDT team ? >> >>> > > > > >> > > >> >>> > > > > >> > > Alex, >> >>> > > > > >> > > >> >>> > > > > >> > > After your changes to many swcs in FlexJS - Did you >> >>>have to >> >>> > > change >> >>> > > > > >> > process >> >>> > > > > >> > > of creation/import new project to FB in some way ? >> >>> > > > > >> > > >> >>> > > > > >> > > Piotr >> >>> > > > > >> > > >> >>> > > > > >> > > >> >>> > > > > >> > > >> >>> > > > > >> > > ----- >> >>> > > > > >> > > Apache Flex PMC >> >>> > > > > >> > > piotrzarzyck...@gmail.com >> >>> > > > > >> > > -- >> >>> > > > > >> > > View this message in context: >> >>> > > > > >> > >> >>> > > > > >> >> >>> > > > > >> >>> > > >> >>> >> >>> >> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Reaching-out >> >>>- >> >>> > > > > >>to-IDE-developers-to-support-FlexJS-tp32656p46277.html >> >>> > > > > >> > > Sent from the Apache Flex Development mailing list >> >>>archive >> >>> at >> >>> > > > > >>Nabble.com. >> >>> > > > > >> > >> >>> > > > > >> > >> >>> > > > > > >> >>> > > > > >> >>> > > > > >> >>> > > >> >>> > > >> >>> >> >>> >> >> >> >> >> >>