> 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. 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? Frédéric THOMAS [1] <?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <flex-config> <compiler> <mxml> <children-as-data>true</children-as-data> <imports> <implicit-import>org.apache.flex.events.*</implicit-import> <implicit-import>org.apache.flex.geom.*</implicit-import> <implicit-import>org.apache.flex.core.ClassFactory</implicit-import> <implicit-import>org.apache.flex.core.IFactory</implicit-import> </imports> </mxml> <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event> <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind> <binding-value-change-event-type>valueChange</binding-value-change-event-type> <binding-event-handler-event>org.apache.flex.events.Event</binding-event-handler-event> <binding-event-handler-class>org.apache.flex.events.EventDispatcher</binding-event-handler-class> <states-class>org.apache.flex.states.State</states-class> <states-instance-override-class>org.apache.flex.states.AddItems</states-instance-override-class> <states-property-override-class>org.apache.flex.states.SetProperty</states-property-override-class> <states-event-override-class>org.apache.flex.states.SetEventHandler</states-event-override-class> <component-factory-class>org.apache.flex.core.ClassFactory</component-factory-class> <component-factory-interface>org.apache.flex.core.IFactory</component-factory-interface> <namespaces> <!-- Specify a URI to associate with a manifest of components for use as MXML --> <!-- elements. --> <namespace> <uri>library://ns.apache.org/flexjs/basic</uri> <manifest>../../frameworks/projects/Core/basic-manifest.xml</manifest> </namespace> <namespace> <uri>library://ns.apache.org/flexjs/html5</uri> <manifest>../../frameworks/projects/HTML5/html5-manifest.xml</manifest> </namespace> <namespace> <uri>library://ns.apache.org/flexjs/svg</uri> <manifest>../../frameworks/projects/HTML/svg-manifest.xml</manifest> </namespace> </namespaces> <!-- List of CSS or SWC files to apply as a theme. --> <theme> </theme> </compiler> </flex-config> > 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 12:45:51 +0000 > > > > On 6/4/15, 4:47 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: > > >> Also, I had to add the manifiests to the > ><InstalledSDK>/frameworks from the Flex SDK, especially > >mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize > ><fx:Script > >> Should we add them to the dev SDK too ? > > > >I've seen there was in the generated\dist\sdk\frameworks, so, I wonder > >why they wasn't in the downloaded FlexJS SDK ? > > That folder is generated by copying files from flex-sdk. FlexJS SDK’s are > generated from its build.xml. > > > > >Also, I added a <InstalledFlexJsSDK>\ide\IDEA\intellij-config.xml, what > >should I do to have it integrated in the futur FlexJS release? > > 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? > > -Alex > >