> JS.SWC is the APIs for JS in the browser (Window, HTMLElement, etc). So I
> am keeping it in a different place for now so it doesn’t default to being
> in the code-hints.
Great but in this case why not <FlexJS Nightly>\js\libs\JS.swc ?
I tried it with -js-output-type=FLEXJS, I was supprised it compiled it to js despite [1] which
I guess is normal
Was happy to see the completion in JS too.
Frédéric THOMAS
[1]
Error:[testJsSwc]: : java.lang.RuntimeException: Unable to find JavaScript filePath for class:
document at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:174)
at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:192)
at org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:127)
at org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:79)
at org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:277)
at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455) at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:319)
at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:247) at
flex2.tools.MxmlJSC.execute(MxmlJSC.java:85) at flex2.tools.Tool.compile(Tool.java:75)
at flex2.tools.Mxmlc.mxmlc(Mxmlc.java:71) at com.intellij.flex.compiler.flex4.Flex4Handler.compileSwf(Flex4Handler.java:81)
at com.intellij.flex.compiler.CompilationThread.run(CompilationThread.java:48)
----------------------------------------
> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Mon, 15 Jun 2015 14:49:49 +0000
>
> On 6/15/15, 7:31 AM, "Frédéric THOMAS" <webdoublefx@hotmail.com> wrote:
>
>>> @Alex
>>> I noticed this file: <FlexJS Nightly>\js\libs\temp\externals\bin\JS.swc
>>> What is for ?
>>
>>I mean, is it not supposed to be in frameworks\lib ?
>
> JS.SWC is the APIs for JS in the browser (Window, HTMLElement, etc). So I
> am keeping it in a different place for now so it doesn’t default to being
> in the code-hints.
>
> -Alex
>
>
>
|