ok, what I did is: 1- created the intellij-config file in .\compiler\dist\flex\ide\IDEA\intellij-config.xml 2- In the target copy.sdk, added:
<!-- Copy intellij-config.xml to ${sdk]. --> <mkdir dir="${sdk}/ide/IDEA" /> <copy todir="${sdk}/ide/IDEA" failOnError="false" overwrite="false"> <fileset dir="${compiler}/dist/flex/ide/IDEA"> <include name="intellij-config.xml"/> </fileset> </copy> Is that ok for you ? is there something else to do ? I created a video to show how it will work in the FlexJS 0.0.4 https://vimeo.com/129789415 Indeed, I haven't got the Joseph style and eloquence but it could serve as a base for him to do a better one. 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: Thu, 4 Jun 2015 15:55:40 +0100 > > > How do you override it? When does IJ create this file? > > The IntelliJ Flex plugin create this file based on what the user has set in > the IntelliJ module configuration build, it generate it at each build and is > automatically removed at the end of the compilation, I have no way to change > this behavior, what I do instead is I override it with this > intellij-config.xml to include what the compiler needs using > load-config+=intellij-config.xml > > > Yes, if that’s the correct timing that will result in overriding. > > Although it might be better to find a way to auto-generate the contents > > since it is a copy of at least some of our flex-config.xml > > Have you got a example of a such auto-generation ? > > 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: Thu, 4 Jun 2015 14:41:18 +0000 > > > > > > > > On 6/4/15, 7:01 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: > > > > >> Add it to the source-package target in the FlexJS build script. But > > >>what > > >> is in it? Can it be auto-generated? Does it require references to > > >> regular Flex SDK classes? > > > > > >This is the content [1], IntelliJ creates its own config.xml, it needs to > > >be overrided with the FlexJS stuffs. > > > > How do you override it? When does IJ create this file? > > > > > > > >So, are you saying the best way is to copy it in > > >ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it > > >to the generated folder? > > > > Yes, if that’s the correct timing that will result in overriding. > > Although it might be better to find a way to auto-generate the contents > > since it is a copy of at least some of our flex-config.xml > > > > -Alex > > >