One thing worth mentioning is that MXML files will not produce source maps yet. Not even <fx: Script> blocks yet. Only pure ActionScript classes for now.
- Josh On Nov 26, 2016 1:57 PM, "chrismatheson" <[email protected]> wrote: > Some updates in case anyone else is interested in my progress > > I seems to be getting somewhere, I've decided to just sort of ignore the > Intellij UI for compiler options etc and instead just have it shell out to > mxmlc to compile the project which works nicely, and as a bonus will mean > that i can reuse that script in the CI/CD environment and make sure all > settings will be the same for local build and CI build :D > > specifically i add a run/debug configuration "Javascript Debug" and > intellij > will start home, hook up the devtools to the IDE and launch a URL of my > choosing. I change the "before launch" to "run external tool" which i set > up > to be mxmlc from the local npm package. > > This is so far working well, i can hit run / debug and have my flex's > project compiled & run in chrome. > > However there is one last piece thats causing me a headache just now . . . > i > can't seem to get source maps out of mxmlc > > the wiki > <https://cwiki.apache.org/confluence/display/FLEX/ > Getting+Started+with+the+Falcon+and+FalconJX+Compilers> > suggest i will just need to add the `-source-map ` switch to my command > line, but im not having any luck there. Has anyone else had any luck > getting > source maps out from flexjs ? > > also another small Q, i can't seem to get any "useful" info from mxmlc with > the standard `--help` flag ? > > > > -- > View this message in context: http://apache-flex-users. > 2333346.n4.nabble.com/flexjs-Help-setting-up-flexjs- > project-tp14183p14224.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. >
