Ok, I installed the nightly FlexJS SDK.

There was something weird, the progress bar seems to go out of the installer 
windows at time.

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

@Alex
I noticed this file: <FlexJS Nightly>\js\libs\temp\externals\bin\JS.swc
What is for ?

Frédéric THOMAS


----------------------------------------
> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Mon, 15 Jun 2015 14:29:19 +0100
>
>> Fred, I need a specific list of how to get IJ to run a FlexJS nightly, I
>> see scattered things but trying to peice together what exactly I need to do
>> is sketchy, so can you write a list of what to do.
>>
>> I have FlexJS Nightly installed, where do I go from here?
>
> Ok, let me download the nightly, will start from there and come back to you
>
>
> Frédéric THOMAS
>
>
> ----------------------------------------
>> Date: Mon, 15 Jun 2015 09:10:21 -0400
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> From: teotigraphix...@gmail.com
>> To: dev@flex.apache.org
>>
>> On Mon, Jun 15, 2015 at 9:00 AM, Frédéric THOMAS <webdoubl...@hotmail.com>
>> wrote:
>>
>>> Yes sure, I will, how do you want me to try exactly ?
>>>
>>> Frédéric THOMAS
>>>
>>>
>>
>> Fred, I need a specific list of how to get IJ to run a FlexJS nightly, I
>> see scattered things but trying to peice together what exactly I need to do
>> is sketchy, so can you write a list of what to do.
>>
>> I have FlexJS Nightly installed, where do I go from here?
>>
>> Mike
>>
>>
>>
>>
>>
>>>
>>> ----------------------------------------
>>>> Date: Mon, 15 Jun 2015 08:51:16 -0400
>>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>>> From: teotigraphix...@gmail.com
>>>> To: dev@flex.apache.org
>>>>
>>>> Fred, now with the FlexJS nightly downloaded that has the JS.swc, can you
>>>> give a run down of what is needed to set this up in IJ using that version
>>>> today?
>>>>
>>>> Thanks
>>>> Mike
>>>>
>>>> On Mon, Jun 15, 2015 at 8:49 AM, Frédéric THOMAS <
>>> webdoubl...@hotmail.com>
>>>> wrote:
>>>>
>>>>> The config.xml is here
>>>>> https://gist.github.com/doublefx/5a2c20704fcc102428c6 and I placed it
>>> to
>>>>> ide\IDEA\intellij-config.xml
>>>>>
>>>>> Also, I had to copy the manifests from the <Flex SDK>\frameworks to
>>>>> <FlexJS>\frameworks
>>>>>
>>>>> Frédéric THOMAS
>>>>>
>>>>>
>>>>> ----------------------------------------
>>>>>> From: aha...@adobe.com
>>>>>> To: dev@flex.apache.org
>>>>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
>>> Integration
>>>>>> Date: Mon, 15 Jun 2015 04:37:35 +0000
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 6/14/15, 9:17 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com>
>>> wrote:
>>>>>>
>>>>>>>@Alex,
>>>>>>>Have you done something for the "generated"
>>> IDE/IDEA/intellij-config.xml
>>>>>>>and the copy of the legacy NSs yet ?
>>>>>>
>>>>>> No not yet. I’ll work on that this week. Can you re-post what we need?
>>>>>> Otherwise I’ll try to find it upthread.
>>>>>>
>>>>>> -Alex
>>>>>>
>>>>>
>>>>>
>>>
>>>
>
                                          

Reply via email to