Hi,

For those trying to get FlexJS nightly working with IJ, Fred posted these
steps, I think Alex is working on getting files copied in builds coming up.

Note; I had to copy mx-manifest.xml over into the flexjs frameworks to.

Mike

So, from there, fdb.jar is missing as well as the
ide\IDEA\intellij-config.xml, the content is here
https://gist.github.com/doublefx/5a2c20704fcc102428c6, is missing as well,
the mxml-2009-manifest.xml

1- Copy the content of https://gist.github.com/doublefx/5a2c20704fcc102428c6
into <FlexJS Nightly>\ide\IDEA\intellij-config.xml
2- Copy the <Flex SDK>\frameworks\mxml-2009-manifest.xml to <FlexJS
Nightly>\frameworks\mxml-2009-manifest.xml
3- To be able to debug, build the falcon/debugger "ant debugger", copy the
freshly built <falcon>\compiler\generated\dist\sdk\lib\fdb.jar to <FlexJS
Nightly>\lib

In IntelliJ, Project structure / Modules / your module / its build
configuration / dependencies:

1- set the Flex/AIR SDK to the <FlexJS Nightly>
2- Add a global libraries pointing to <FlexJS Nightly>, unticking
everything not in the frameworks folder.

In IntelliJ, Project structure / Modules / your module / its build
configuration / compiler options / Project Defaults:

1- Remove the en_US locale
2- add as "Default options for project", -load-config+=<FlexJS
Nightly>\ide\IDEA\intellij-config.xml

In IntelliJ, Project structure / Modules / your module / its build
configuration / compiler options:

add, as needed a -js-output-type (eg. -js-output-type=FLEXJS_DUAL)

You should now be able to build and debug swf and js

Reply via email to