On 5/15/15, 11:31 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:

>> I guess I am hoping there is one more scenario where we put the right
>> files and data in a FlexJS release that IntelliJ thinks it is a Flex SDK
>> without it actually being a Flex SDK.  I don’t know what a Facet is or
>> what goes in a Randori-lik plug-in, but I don’t think it was necessary
>>for
>> me to do things like that to get the current FlexJS package to work with
>> Flash Builder.
>
>Well, yes, it should be way in the middle but would still require FlexJS
>having the same structure than the FlexSDK with some key files on the
>right place but how to deal with 2 compilers (falcon, falconJx) instead
>of 1 expected (either fsch, mxmlc, compc or asc2) ?

My plan for FB is just to have the external launch config.  The workflow I
have in mind is that I think in FB, most folks edit/compile/debug then hit
“Export release build” to produce a final SWF.  Instead of hitting “Export
release build” they can launch the external tool that launches FalconJX
instead.  I suppose we could also automatically launch FalconJX if the
debug flag is false.

>
>> 1) what does it take for IJ to recognize the FlexJS classes if there are
>> no Flex SDK classes in the package
>
>It is not about the Flex SDK classes, it needs to recognize a Flex SDK to
>activate the Flex plugin and it seems it recognized FlexJS as a Flex SDK.

It seemed to allow it to be listed as a Flex SDK, but then it looked like
the code hinting didn’t recognize the classes and the compiler didn’t get
handed the FlexJS swcs.

>
>> 2) How does IJ call the compiler
>
>There are only has 2 ways IIRC, either it calls it in the same way we do
>with the command line or via its API, and I guess, for the Flex plugin,
>it does it via the API given it has some fixes applied on some classes
>before to call it, it does that for either for fsch, mxmlc, compc or asc2
>
>> 3) How does IJ call the debugger.
>
>It seems it calls by default the FDB.jar of the setup SDK, you can change
>it.
>
>And I don't know all the details, the plugin is not open source.

Yeah, so I hope that Alexander or one of his folks will soon join this
thread and help out.  Maybe I’ll have to offer to buy a full license if
they can help us get it working.

-Alex

Reply via email to