Even more : When you add *any* royale argument to the "compiler arguments" dialog, it breaks code-assist !!
I just added -targets=jsroyale to the compiler arguments (no -js-output argument) and it also breaks code-assist !!! (moreover, it does not seem to work : the swf is output as well..) Something out there really needs a fix... Nicolas Granon > -----Message d'origine----- > De : Alex Harui [mailto:aha...@adobe.com.INVALID] > Envoyé : vendredi 3 novembre 2017 18:01 > À : dev@royale.apache.org; ngra...@idylog.com > Objet : Re: FB : Strange side effects of -js-output argument > > Yeah, I noticed that too. I think FB is running its own compiler for > code-assist and new compiler options break that internal compiler. I'm > planning to dig into it more next week. It might be that some compiler > options have to be specified inside -config.xml files. > > -Alex > > On 11/3/17, 7:59 AM, "Idylog - Nicolas Granon" <ngra...@idylog.com> > wrote: > > >Ok, thanks. > > > >Nicolas Granon > > > > > > > > > >> -----Message d'origine----- > >> De : Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com] > >> Envoyé : vendredi 3 novembre 2017 15:40 À : dev@royale.apache.org > >> Objet : Re: FB : Strange side effects of -js-output argument > >> > >> Hi Nicolas, > >> > >> Current compiler targets is "JSRoyale" for JS only output. > >> > >> Piotr > >> > >> > >> 2017-11-03 15:30 GMT+01:00 Idylog - Nicolas Granon > >> <ngra...@idylog.com>: > >> > >> > (my setup : FlashBuilder 4.7, Windows, Apache Royale 0.9 binaries) > >> > > >> > In some of my previous posts, I have tried to explain how to setup > >> > FB and also the problems I got with code-assist (auto-complete) > not > >> > working properly. > >> > I also suggested a "working" setup of FB. > >> > > >> > Now, I have a *very* strange issue : > >> > > >> > If I add "-js-output=somepath" to the compiler arguments (from > >> > "Project > Properties > Flex compiler" tab), code-assist is lost > !!!! > >> > (almost entirely). (side note : the project compiles without > >> > errors, and output is in fact directed to (somepath)). > >> > > >> > If I remove the argument, code-assist is back ! (of course, output > >> > is directed to the bin/js-debug inside the project folder as it > >> > should) > >> > > >> > My flex-config.xml is the one that ships with the binaries > >> distribution. > >> > > >> > The project is a basic "hello world" project (one view, one > label). > >> > The js-output folder name has no spaces in it. > >> > > >> > Note that when *adding" the -js-output parameter and validating > the > >> > dialog, I get a "realtime error processor" from FB. After closing > >> > and restrarting FB, that error disappears, but it clearly shows > >> > that some active process get lost in the dark... I suspect the > >> > active > >> "realtime" > >> > process is code-assist. > >> > > >> > Is it possible that the handling of this argument changes > something > >> > inside the internal paths used by FB for the current project ??? > >> Maybe > >> > it is just a matter of "restoring" the changed values after the > >> > compiler runs ??? > >> > > >> > And while I am at it, what are the *current* (0.9) values for - > >> targets > >> > argument for js output ? (JS ? RoyaleJS ? JSRoyale ? JSFlex ???) > >> > > >> > Nicolas Granon > >> > > >> > > >> > > >> > > >> > > >> > > >> > >> > >> -- > >> > >> Piotr Zarzycki > >> > >> mobile: +48 880 859 557 > >> skype: zarzycki10 > >> > >> LinkedIn: > >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.l > i > >>nke > >>din.com%2Fpiotrzarzycki&data=02%7C01%7C%7Caa45f87d335d49441da608d522c > b > >>958 > >>7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636453180140754807&sda > t > >>a=u > >>7DZ4xxyJZls0CwbS8Tx6sI3uDn5p26h4c99xv4vuTk%3D&reserved=0 > >> > >><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpl. > l > >>ink > >>edin.com%2Fin%2Fpiotr-zarzycki- > 92a53552&data=02%7C01%7C%7Caa45f87d335d > >>494 > >>41da608d522cb9587%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636453 > 1 > >>801 > >>40911063&sdata=FEbuvYXGHKlY4nXGjXgo4t7W4HwKtdM9A7gMHfxM%2BKU%3D&reser > v > >>ed= > >>0> > >> > >> GitHub: > >>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith > u > >>b.c > >>om%2Fpiotrzarzycki21&data=02%7C01%7C%7Caa45f87d335d49441da608d522cb95 > 8 > >>7%7 > >>Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636453180140911063&sdata= > G > >>TnQ > >>7nenut8qnMUFTbA53QR6nVmRXsdpvPlb0D%2FSqtU%3D&reserved=0 > >