Hi,

Adding support for Comp C / JSC, I've been able to compile swc and js files 
from IntelliJ.

In IntelliJ, I still have to add the FlexJS as a Lib to have things green 
though, also, despite, it passes a correct config.xml, the MXMLC compiler can't 
find the classe in the lib (the class is in the lib and the lib is well 
referenced, I tried with both include path and external and had the same 
result), did someone already tried this kind of config ?

Thanks,
Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 27 May 2015 01:12:22 +0100
> 
> > If you modify the Configuration class in flex-oem-compiler does it get
> > used or does IJ have its own version?  If you can use a modified
> > Configuration, you might be able to change getCompilerConfiguration to
> > call OEMUtil, or maybe some earlier call can call OEMUtil and store the
> > config someplace.
> 
> Yeah, I was thinking to stub most of the legacy config and still make IJ 
> happy.
> 
> > Just so I understand: does this mean the FlexJS SDK can do these things in
> > IJ without overlaying a regular Flex SDK or being a library within a
> > regular Flex SDK?
> 
> For some reasons I didn't get yet (didn't dug into either, we still need to 
> add the FlexJS Lib  + FlexJS SDK
> 
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Tue, 26 May 2015 23:58:16 +0000
> > 
> > 
> > 
> > On 5/26/15, 4:41 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
> > 
> > >> I may not be understanding the issue, but if you look at
> > >> flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> > >> that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > >> CompilerConfiguration from the Falcon config.
> > >
> > >IJ calls the proccessConfiguration which returns a legacy Configuration
> > >nd from there IJ getCompilerConfiguration(), so, IFAIK, I can't use
> > >OEMUtil to give it directly.
> > 
> > If you modify the Configuration class in flex-oem-compiler does it get
> > used or does IJ have its own version?  If you can use a modified
> > Configuration, you might be able to change getCompilerConfiguration to
> > call OEMUtil, or maybe some earlier call can call OEMUtil and store the
> > config someplace.
> > 
> > >
> > >Anyway, good news, I can now make / build / compile from IntelliJ to .swf
> > >/ .js
> > 
> > Just so I understand: does this mean the FlexJS SDK can do these things in
> > IJ without overlaying a regular Flex SDK or being a library within a
> > regular Flex SDK?
> > 
> > >
> > >It is too late for me to try to adapt and make it build with Ant tonight
> > >though, I'll keep you in touch.
> > 
> > Hey, this is great progress.  I’m going to be a while on the FDB for
> > Falcon so no hurry.
> > 
> > -Alex                                 
> > 
>                                         
                                          

Reply via email to