VS Code is reporting all kinds of issues that are not problems since the switch to dual. Maybe that’s related as well?
> On Jul 6, 2017, at 9:06 PM, Josh Tynjala <joshtynj...@gmail.com> wrote: > > I don't see why -targets wouldn't work when it works elsewhere, but I just > tried -compiler.targets too, and that also failed. > > Looking at the source code for flex2.tools.MxmlJSC, I see that it's still > checking for the -js-output-type option, and it isn't trying to find > -targets at all. Did you forget to update this class to support the dual > changes? > > - Josh > > On Thu, Jul 6, 2017 at 10:44 AM, Alex Harui <aha...@adobe.com.invalid> > wrote: > >> What does IJ do with additional compiler options? Does it put them in one >> of the .xml files? I can see from the original post that IJ seems to be >> using: >> >> -load-config=/Users/joshtynjala/Library/Caches/ >> IntelliJIdea2017.1/compile-s >> erver/helloidea_6d5abd99/_temp_/IntelliJ_IDEA/idea-B028A5AE-12E86E20.xml >> -load-config+=/Users/joshtynjala/Development/Flex/ >> sdks/flexjs-0.8.0/ide/IDE >> A/intellij-config.xml >> >> >> Did the new output log of compiler options reflect that it recognized that >> option? Also, I'm not sure that -targets will work, it might have to be >> -compiler.targets >> >> HTH, >> -Alex >> >> On 7/6/17, 9:23 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: >> >>> I tried specifying -targets=JSFlex in the additional compiler options, but >>> it made no difference. >>> >>> - Josh >>> >>> On Thu, Jul 6, 2017 at 9:09 AM, Alex Harui <aha...@adobe.com.invalid> >>> wrote: >>> >>>> I suspect the issue is that IJ dictates all of the settings and doesn't >>>> use flex-config.xml, and thus no targets are being specified. Is there >>>> a >>>> way to specify compiler.targets in additional compiler options in IJ? >>>> There is in FB. >>>> >>>> -Alex >>>> >>>> On 7/6/17, 8:34 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: >>>> >>>>> While full support for FlexJS in IntelliJ IDEA would be great, I think >>>>> it's >>>>> critical that we fix this issue to at least get back to the baseline we >>>>> had >>>>> in 0.7. A FlexJS project required a little bit of extra configuration >>>> with >>>>> 0.7, but at least we could get the compiler to work inside IntellIJ. >>>>> >>>>> Many Flex/ActionScript developers use IntelliJ, and while I'd love to >>>>> encourage them to try VSCode, I think many prefer to take their first >>>>> steps >>>>> with FlexJS in an environment they already know. Having this stop >>>> working >>>>> (especially when there are tutorials out there claiming it works) is >>>> going >>>>> to turn people away. >>>>> >>>>> If we can fix this issue, I want to push a 0.8.1 update because I think >>>>> getting this working again is very, very important. >>>>> >>>>> - Josh >>>>> >>>>> On Thu, Jul 6, 2017 at 12:55 AM, piotrz <piotrzarzyck...@gmail.com> >>>> wrote: >>>>> >>>>>> As I remember Chris get to the bottom of it and resolved it. >>>>>> Unfortunately >>>>>> after contacting with Jetbrains they refuse accept pull request with >>>> fix >>>>>> and >>>>>> Chris dropped it. [1] >>>>>> >>>>>> I was thinking even then that if someone could fix it and store >>>> version >>>>>> of >>>>>> plugin somewhere with fix it would be also HUGE, cause we could gain >>>>>> another >>>>>> IDE which support FlexJS. >>>>>> >>>>>> [1] >>>>>> >>>>>> https://na01.safelinks.protection.outlook.com/?url= >>>> http%3A%2F%2Fapache-fl >>>>>> ex-development.2333347.n4.nabble&data=02%7C01%7C% >>>> 7C5f4eb274ee54460f044608 >>>>>> d4c484a74e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0% >>>> 7C63634952143892612 >>>>>> 4&sdata=3U%2FcqwvO4C8OtATk9khadreh99KxUUfsfJYiEptjJzs%3D&reserved=0. >>>>>> com/FlexJS-Step-by-step-uuuuh-baby-td58710.html >>>>>> >>>>>> Thanks, >>>>>> Piotr >>>>>> >>>>>> >>>>>> >>>>>> ----- >>>>>> Apache Flex PMC >>>>>> piotrzarzyck...@gmail.com >>>>>> -- >>>>>> View this message in context: http://apache-flex- >>>>>> development.2333347.n4.nabble.com/FlexJS-0-8-0-not-working- >>>>>> in-IntelliJ-IDEA-tp62848p62862.html >>>>>> Sent from the Apache Flex Development mailing list archive at >>>>>> Nabble.com. >>>>>> >>>> >>>> >> >>