Thanks Alex, I was able to achieve but not through “{flexjsHome}/ide/flashbuilder/FlexJs (FalconJX Debug and Release Build).launch” file instead I changed {flexjsHome}js/bin/mxmlc.bat. Now both the version swf and JS work fine.
I tried for " FlexJS (FalconJX Debug and Release Build).launch" with following tag, <stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-sdk-js-lib "D:\eclipse_workspace\flexJsWS\DataBindingTest\libs"'/> It isn’t helped and no changes were reflected hence instead I tried in mxmlc.bat with following entry, "C:/Program Files (x86)/Java/jre7/bin/java.exe" -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=FLEXJS -sdk-js-lib="%FLEX_HOME%\frameworks\js\FlexJS\src" -sdk-js-lib="D:\eclipse_workspace\flexJsWS\DataBindingTest\libs" This worked! Regarding the suggestion, For our case we have closed source custom component library, in flash version it is easy to provide only executable to clients keeping source as private and intact. So it would be great if flexjs compiler package everything inside swc or any js version of swc. Also note that, FB allows us to remote debug any client side application and as we have source code we can debug each line so this will help in js case as well. Regards, Raj Shaikh -----Original Message----- From: Alex Harui [mailto:aha...@adobe.com] Sent: Wednesday, November 05, 2014 12:07 PM To: dev@flex.apache.org Subject: Re: [FlexJS] Flex Library Project On 11/4/14, 10:17 PM, "Raj U. Shaikh" <raj.sha...@mastek.com> wrote: >using FlashBuilder Project Files >FlashBuilder settings: > -locale > en_US > -source-path+=D:\eclipse_workspace\flexJsWS\DataBindingTest/src > -compiler.accessible=true > >-output=D:\eclipse_workspace\flexJsWS\DataBindingTest/bin-release/DataB >ind >ingTest.swf > -library-path+=D:\eclipse_workspace\flexJsWS\DataBindingTest/libs > -js-output-type=FLEXJS > >-sdk-js-lib=D:\software\apache-flex-flexjs-0.0.2-jBurg\js\bin\..\..\fra >mew >orks\js\FlexJS\src > -fb > >D:\eclipse_workspace\flexJsWS\DataBindingTest/src/DataBindingTest.mxml >Compiling file: >D:\eclipse_workspace\flexJsWS\DataBindingTest\bin\js-debug\DataBindingT >est >.js >Compiling file: >D:\eclipse_workspace\flexJsWS\DataBindingTest\bin\js-debug\StockDataJSO >NIt >emConverter.js >Compiling file: >D:\eclipse_workspace\flexJsWS\DataBindingTest\bin\js-debug\MyInitialVie >w.j >s >Compiling file: >D:\eclipse_workspace\flexJsWS\DataBindingTest\bin\js-debug\models\MyModel. >js >Compiling file: >D:\eclipse_workspace\flexJsWS\DataBindingTest\bin\js-debug\controllers\ >MyC >ontroller.js >Could not find file for class: components.MyTextInput >java.io.FileNotFoundException: > at java.io.FileInputStream.open(Native Method) Hi Raj, This is a known issue. If you have a custom SWC, you’ll currently need to modify the the launch config to add an -sdk-js-lib entry for your .js files. I recommend copying the current “FlexJs (FalconJX Debug and Release Build)” launch config and adding the path to the root of the folder containing MyTextInput.js. I think that would be: -sdk-js-lib=D:\eclipse_workspace\flexJsWS\DataBindingTest\libs We have not finalized plans on how to make this work better. I’ve considered things like package .js files into the SWC. That makes it easier to deploy but makes it harder to debug. Maybe it can assume the .JS files are co-located near the SWC somehow so it can calculate the path to the .js files from the -library-path options. Your thoughts are welcome. Thanks, -Alex MASTEK LTD. In the US, we're called MAJESCOMASTEK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~