Hi Chris, > Hehe ... I think I got your questions now ... sometimes it's good reading > twice ;-)
No problem :) > 1. Well this is something that the IntelliJ Guys should work on ... I doubt > its anything we can do. Ok I will see if I can do something when I'll be on the plugin stuffs > 2. The compiler compiles a SWC or JavaScript (These are two different compiler executions. If you set the compilerName=FlexJS then JavaScript is ouptut ... if you set it to compilerName=Falcon it's a swc which it will produce. If you want both I would suggest to add a second execution using the other compiler) Yeah, thanks for that I totally forgoten. > 3. Whenever I run the build, the js-release folder isn't empty ... strange ... Could it be because I've got that during the build ? [INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:compile-swf (default-compile-swf) @ flexjs-hello-world --- [WARNING] No themes are explicitly defined in the <theme> section or in any scope="theme" dependencies. Flexmojos is now attempting to figure out which themes to include. (to avoid this warning you should explicitly state your theme dependencies) Compiling file: U:\sources\asf\flex\utilities\maven-flex-plugin\examples\flexjs\flexjs-hello-world\target\flexjs-hello-world-1.0.0-SNAPSHOT\bin\js-debug\FlexJSTest_basic.js Compiling file: U:\sources\asf\flex\utilities\maven-flex-plugin\examples\flexjs\flexjs-hello-world\target\flexjs-hello-world-1.0.0-SNAPSHOT\bin\js-debug\StockDataJSONItemConverter.js Compiling file: U:\sources\asf\flex\utilities\maven-flex-plugin\examples\flexjs\flexjs-hello-world\target\flexjs-hello-world-1.0.0-SNAPSHOT\bin\js-debug\controllers\MyController.js Compiling file: U:\sources\asf\flex\utilities\maven-flex-plugin\examples\flexjs\flexjs-hello-world\target\flexjs-hello-world-1.0.0-SNAPSHOT\bin\js-debug\MyInitialView.js Compiling file: U:\sources\asf\flex\utilities\maven-flex-plugin\examples\flexjs\flexjs-hello-world\target\flexjs-hello-world-1.0.0-SNAPSHOT\bin\js-debug\models\MyModel.js java.io.FileNotFoundException: \Users\AsusFred\.m2\repository\org\clojure\google-closure-library\0.0-20140718-946a7d39\google-closure-library-0.0-20140718-946a7d39.jar (Le chemin d’accès spécifié est introuvable) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:214) at java.util.zip.ZipFile.<init>(ZipFile.java:144) at java.util.jar.JarFile.<init>(JarFile.java:152) at java.util.jar.JarFile.<init>(JarFile.java:116) at org.apache.flex.compiler.internal.codegen.js.goog.JSGoogPublisher.dumpJar(JSGoogPublisher.java:270) at org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:198) at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:462) at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:326) at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:254) at org.apache.flex.compiler.clients.MXMLJSC.execute(MXMLJSC.java:155) at net.flexmojos.oss.compiler.DefaultFlexCompiler.executeTool(DefaultFlexCompiler.java:294) at net.flexmojos.oss.compiler.DefaultFlexCompiler.executeMxmlcMain(DefaultFlexCompiler.java:192) at net.flexmojos.oss.compiler.DefaultFlexCompiler.access$300(DefaultFlexCompiler.java:37) at net.flexmojos.oss.compiler.DefaultFlexCompiler$2.command(DefaultFlexCompiler.java:86) at net.flexmojos.oss.compiler.command.CommandUtil$1.run(CommandUtil.java:50) at java.lang.Thread.run(Thread.java:722) > 4. Don't wory about that ... it's something Flexmojos creates if you so stuff > like in the i18n/locale-chain example Still didn't get why at the moment but ok... Thanks Frédéric THOMAS > From: christofer.d...@c-ware.de > To: dev@flex.apache.org > Subject: AW: AW: AW: AW: [FlexJS] IntelliJ Integration > Date: Thu, 21 May 2015 16:57:46 +0000 > > Hehe ... I think I got your questions now ... sometimes it's good reading > twice ;-) > > 1. Well this is something that the IntelliJ Guys should work on ... I doubt > its anything we can do. > 2. The compiler compiles a SWC or JavaScript (These are two different > compiler executions. If you set the compilerName=FlexJS then JavaScript is > ouptut ... if you set it to compilerName=Falcon it's a swc which it will > produce. If you want both I would suggest to add a second execution using the > other compiler) > 3. Whenever I run the build, the js-release folder isn't empty ... strange ... > 4. Don't wory about that ... it's something Flexmojos creates if you so stuff > like in the i18n/locale-chain example > > Chris > > > -----Ursprüngliche Nachricht----- > Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] > Gesendet: Donnerstag, 21. Mai 2015 17:02 > An: dev@flex.apache.org > Betreff: RE: AW: AW: AW: [FlexJS] IntelliJ Integration > > waoo, you have been a bit fast for me :-) , I didn't get your answer, there > are few points here: > > 1- The SDK is not automatically set in IntelliJ > 2- The swf is not generated, but we need it too > 3- The js-release folder is empty, it supposed to contain the index.html I > use to launch and debug the JS part > 4- I've got things like mx-4.14.1-de_DE2de_AT.rb.swc in my repo !!?? What is > it ? > > Frédéric THOMAS > > > From: christofer.d...@c-ware.de > > To: dev@flex.apache.org > > Subject: AW: AW: AW: [FlexJS] IntelliJ Integration > > Date: Thu, 21 May 2015 14:39:50 +0000 > > > > That's a result of the Resource Bundle Chaining of Flexmojos. > > Don't wory about that. > > > > Actually I have setup Falcon and ASJS to publish maven artifacts. I am > > planning on releasing these the normal Maven way so there is no need to > > mavenize them. > > > > Chris > > > > > > > > -----Ursprüngliche Nachricht----- > > Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] > > Gesendet: Donnerstag, 21. Mai 2015 14:35 > > An: dev@flex.apache.org > > Betreff: RE: AW: AW: [FlexJS] IntelliJ Integration > > > > I meant the .swf is not generated. > > > > And I've got things like mx-4.14.1-de_DE2de_AT.rb.swc in my repo !!?? > > > > Frédéric THOMAS > > > > > From: webdoubl...@hotmail.com > > > To: dev@flex.apache.org > > > Subject: RE: AW: AW: [FlexJS] IntelliJ Integration > > > Date: Thu, 21 May 2015 13:24:18 +0100 > > > > > > I noticed few things too using the > > > maven-flex-plugin\examples\flexjs\flexjs-hello-world in more than the > > > general integration issues we have: > > > > > > 1- The SDK is not automatically set > > > 2- The swc is not generated > > > 3- The js-release folder is empty > > > > > > Frédéric THOMAS > > > > > > > From: christofer.d...@c-ware.de > > > > To: dev@flex.apache.org > > > > Subject: AW: AW: [FlexJS] IntelliJ Integration > > > > Date: Wed, 20 May 2015 17:43:51 +0000 > > > > > > > > Well just have a look at this: > > > > > > > > https://youtrack.jetbrains.com/issue/IDEA-140467 > > > > > > > > It seems the changes I did for supporting newer versions of Maven have > > > > broken the integration in IntelliJ, so usually it would have auto > > > > created lots of config.xml in the ".idea/flexmojos/" directory. > > > > > > > > So as soon as that's fixed, I think supporting falcon shouldn't be > > > > that hard (actually I would assume there shouldn't be any effort > > > > at all except if there are class-version clashes) > > > > > > > > The next thing I noticed today was that IntelliJ doesn't seem to > > > > auto-detect the air config file created by flexmojos in the > > > > "target/air" directory. But as soon as I point IntelliJ there it works > > > > like a charm and I can test my mobile app in any environment (At least > > > > it worked in the Android and IOs emulator on my mac). > > > > > > > > Another thing I noticed with Air was that IntelliJ won't work with one > > > > of the auto-detected Flexmojo SDKs, you need to provide a normal FDK .. > > > > would be really cool if you could use that. > > > > > > > > Well for now this is more a Flexmojos 7.1.0 Support in IntelliJ, > > > > but as Flexmojos 7.1 supports Falcon and FlexJS as I said, FlexJS > > > > support in IntelliJ should come for free :-) > > > > > > > > Chris > > > > > > > > > > > > > > > > -----Ursprüngliche Nachricht----- > > > > Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] > > > > Gesendet: Mittwoch, 20. Mai 2015 17:09 > > > > An: dev@flex.apache.org > > > > Betreff: RE: AW: [FlexJS] IntelliJ Integration > > > > > > > > > > > > > > > > > > > > Chris, > > > > > > > > What issues do you have with FM and Falcon regarding IntelliJ ? > > > > > > > > > could you get me up to speed what problems you are currently working > > > > > on? > > > > > > > > Well, except of an opened issue [1] for Flex JS full integration, > > > > I guess nothing :-) > > > > > > > > For instance, to be able t use FlexJS, I create a Flex Project and add > > > > FlexJS as a Lib, use as an external tool, the compilers. > > > > Doing so, we have IntelliJ to autocomplete, compile and recognize the > > > > the debugger. > > > > > > > > We would have like to be able to use FlexJS as an SDK but until now it > > > > didn't work, it seems Kevin found a way but I wasn't able to reproduce. > > > > > > > > Frédéric THOMAS > > > > > > > > [1] https://youtrack.jetbrains.com/issue/IDEA-116986 > > > > > > > > > From: christofer.d...@c-ware.de > > > > > To: dev@flex.apache.org > > > > > Subject: AW: [FlexJS] IntelliJ Integration > > > > > Date: Wed, 20 May 2015 14:13:19 +0000 > > > > > > > > > > Hi Guys, > > > > > > > > > > as I am currently opening issues regarding flexmojos 7.1.0 > > > > > support in IntelliJ (Especially regarding Falcon support using > > > > > Flexmojos) ... > > > > > could you get me up to speed what problems you are currently > > > > > working on? I am currently unable to fully expand this > > > > > discussion-thread as it is so long that my outlook web interface > > > > > sort of screws up every time I go back in time and I have to > > > > > admit the velocity in which posts initially came sort of > > > > > prevented me from digging in a few days ago ;-) > > > > > > > > > > Chris > > > > > > > > > > ________________________________________ > > > > > Von: Michael Schmalle <teotigraphix...@gmail.com> > > > > > Gesendet: Mittwoch, 20. Mai 2015 14:14 > > > > > An: dev@flex.apache.org > > > > > Betreff: Re: [FlexJS] IntelliJ Integration > > > > > > > > > > My empathy, haha. :) Seriously any help you give means a lot to > > > > > the project right now. > > > > > > > > > > You and I have similar use cases and targets, mobile. SO I hope > > > > > you stay on board long enough for me to get to a point I can > > > > > really start testing mobile impls with UI components and Cordova > > > > > compiling on a more complex level. > > > > > > > > > > I have some apps that could use native hooks on Android in > > > > > Cordova that I am currently developing in Feathers, so that is my use > > > > > case right now. > > > > > > > > > > I am full of empathy, anytime you want some, just ask. :) > > > > > > > > > > Mike > > > > > > > > > > > > > > > On Wed, May 20, 2015 at 7:41 AM, kevin.godell > > > > > <kevin.god...@gmail.com> > > > > > wrote: > > > > > > > > > > > TeotiGraphix wrote > > > > > > > Kevin, BTW I DID read your answer of why you are testing > > > > > > > FlexJS and I think that is great, your story sounds a lot > > > > > > > like mine over the past years. > > > > > > > > > > > > > > Just didn't want to think your reply went unanswered. :) > > > > > > > > > > > > > > So what you have found out here, what does it mean? You can > > > > > > > use FlexJS with the FDB that comes with FlexJS SDK? > > > > > > > > > > > > > > Mike > > > > > > > > > > > > Thanks for your empathy, Mike. I had thought that I got too > > > > > > mushy and everybody walked away saying ewwwww. Ha. > > > > > > > > > > > > And yes, if copying the 3 files mentioned from a flex sdk to > > > > > > the flexJS sdk and updating the version number before adding > > > > > > it to IJ as an sdk, IJ will use the flexJS sdk debugger > > > > > > without trying to apply its patch. So, in the debugger > > > > > > settings, I can set it to use the flexJS sdk and it debugs as it > > > > > > should. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > View this message in context: > > > > > > http://apache-flex-development.2333347.n4.nabble.com/Re-FlexJS > > > > > > -I ntel liJ-Integration-tp46486p46756.html > > > > > > Sent from the Apache Flex Development mailing list archive at > > > > > > Nabble.com. > > > > > > > > > > > > > > > > > > > >