Hi, Look like JS only compilation is a bit broken.
For a minimal application like so: <?xml version="1.0" encoding="utf-8"?> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic"> <js:valuesImpl> <js:SimpleCSSValuesImpl /> </js:valuesImpl> <js:initialView> <js:View id="view" percentWidth="100" percentHeight="100"> <js:Container> <js:Label text="Hello" /> </js:Container> </js:View> </js:initialView> </js:Application> If you compile with <targets>JS</targets> you get different JS output to when you don’t specify the target. Here’s a diff where “broken: is the JS only target. diff -r target/javascript/bin/js-debug/Main.js broken/javascript/bin/js-debug/Main.js 12,16d11 < goog.require('org.apache.flex.core.Application'); < goog.require('org.apache.flex.core.SimpleCSSValuesImpl'); < goog.require('org.apache.flex.core.View'); < goog.require('org.apache.flex.html.Container'); < goog.require('org.apache.flex.html.Label'); Only in target/javascript/bin/js-debug: index.html Only in target/javascript/bin/js-debug/org/apache/flex/core: ContainerBase.js Only in target/javascript/bin/js-debug/org/apache/flex/core: ContainerBaseStrandChildren.js Only in target/javascript/bin/js-debug/org/apache/flex/core: GroupBase.js Only in target/javascript/bin/js-debug/org/apache/flex/core: IApplicationView.js Only in target/javascript/bin/js-debug/org/apache/flex/core: ICSSImpl.js Only in target/javascript/bin/js-debug/org/apache/flex/core: IContentViewHost.js Only in target/javascript/bin/js-debug/org/apache/flex/core: IStrandPrivate.js Only in target/javascript/bin/js-debug/org/apache/flex/core: IValuesImpl.js Only in target/javascript/bin/js-debug/org/apache/flex/core: SimpleCSSValuesImpl.js Only in target/javascript/bin/js-debug/org/apache/flex/core: View.js Only in target/javascript/bin/js-debug/org/apache/flex/core: ViewBase.js Only in target/javascript/bin/js-debug/org/apache/flex/html: Container.js Only in target/javascript/bin/js-debug/org/apache/flex/html: Label.js The index.css file is also missing if it generates one. So anyone knows why we’s missing dependancies in the JS only versions and missing the index.html file? Thanks, Justin