Thanks a lot for all your help. I have made a lot of progress in a 

We are not in a hurry to migrate immediately to FlexJS at all. FlexJS is an 
insurance for us, in case Flash goes away (which I hope won't happen in the 
next several years). We want to tell our potential customers what kind of Flex 
future-proofing is available to set their minds at ease.

I have some time at the moment to see how big an effort it is for us to convert 
to flexjs. I am sure that day to day work will start pressing soon. I will come 
back to flexjs in two or three months again to get a better estimate of our 
porting effect -- in other words, I see it as an iterative process. And I can 
thank folks enough for the help I am getting.

By the way, I was trying to listen to the YouTube video Alex's talk at Flex 
360. Given my hearing especially, the sound quality was hard for me to 
understand. One of my colleagues was asking about AMF in particular. Perhaps 
the link below talks about it. If not, I am wondering you could let me know 
about the plans for it in FlexJS. AMF is a key part of our apps -- one user 
updates the database on the server and the server pushes out the changes to all 
the users including the one who made the update; AMF is involved in this 
process. 





________________________________
 From: Alex Harui <aha...@adobe.com>
To: V Chandrasekhar <shake...@yahoo.com>; "dev@flex.apache.org" 
<dev@flex.apache.org> 
Sent: Monday, June 16, 2014 2:12 PM
Subject: Re: [FlexJS] Close, But Still Some Problems
 


FlexJS in an 'alpha' level technology.  That's why its version number is 
something like 0.0.1 or 0.0.2.  As such, it won't have every feature of the 
current FlexSDK, and may never have every feature as some features will be 
nearly impossible to make work efficiently in JavaScript, especially in IE8.

It might be worth your while to read up on some of the other wiki articles on 
FlexJS.  Start here: https://cwiki.apache.org/confluence/display/FLEX/FlexJS

Basically FlexJS is not a magic bullet that will take an existing Flex app and 
make it run without Flash.  It is not intending to emulate Flash in the 
browser.  Instead, it  is a new framework designed to run well in JS.  It 
should have most, but not all, of the major concepts from Flex (states, 
binding, mxml).  But you will have to do some work to get an existing app to 
run.

So, create a test project without DCD support to try to get DataBindingTest to 
run.  And yes, you will need to use the new UI widgets for now.

-Alex



From: V Chandrasekhar <shake...@yahoo.com>
Reply-To: V Chandrasekhar <shake...@yahoo.com>
Date: Monday, June 16, 2014 10:55 AM
To: aharui <aha...@adobe.com>, "dev@flex.apache.org" <dev@flex.apache.org>
Subject: Re: [FlexJS] Close, But Still Some Problems


My java version is 1.7.0_55.

I changed mxmlc.bat to specify c:\PROGRA~2\java\jre7\bin\java.exe as the fully 
qualified name of java.exe. I get the following error when I run the FalconJX 
tool:

command line
configuration variable 'compiler.library-path' value contains unknown token 
'DCD_LIB_LOCATION'.
-------------------------------------
Onto another topic, I am trying an existing app to run with FlexJS. I get 
"s:ButtonBar is not defined error". Is this a case of ButtonBar having to be 
replaced with another control?

Thanks for helping me make progress on this effort of using FlexJS.


________________________________
 From: Alex Harui <aha...@adobe.com>
To: V Chandrasekhar <shake...@yahoo.com>; "dev@flex.apache.org" 
<dev@flex.apache.org> 
Sent: Monday, June 16, 2014 1:07 PM
Subject: Re: [FlexJS] Close, But Still Some Problems



Run java –version from the console to make sure you have a recent enough Java 7.

Also see the comments in the bug FLEX-34258.  To run the launch config, you may 
need to specify the path to java7.

-Alex
 
From: V Chandrasekhar <shake...@yahoo.com>
Reply-To: V Chandrasekhar <shake...@yahoo.com>
Date: Monday, June 16, 2014 9:56 AM
To: aharui <aha...@adobe.com>, "dev@flex.apache.org" <dev@flex.apache.org>
Subject: Re: [FlexJS] Close, But Still Some Problems


> Almost there! 

Agree. Thanks for your help. I am excited about "future-proofing" our apps.

> As I suggested in one of my responses, if you have
problems, please see:

https://issues.apache.org/jira/browse/FLEX-34258 

I have been working with the above.

DataBindingTest is a Web application. I copied the mxmlc.bat from FLEX-34258. I 
do have Java Version 7.

I am getting the following error which is different from what Andrew Flach 
reported:

java.lang.UnsupportedClassVersionError: 
org/apache/flex/compiler/clients/MXMLJSC : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.apache.flex.compiler.clients.MXMLJSC. 
Program will exit.
Exception in thread "main" 

________________________________
 From: Alex Harui <aha...@adobe.com>
To: "dev@flex.apache.org" <dev@flex.apache.org>; V Chandrasekhar 
<shake...@yahoo.com> 
Sent: Monday, June 16, 2014 12:22 PM
Subject: Re: [FlexJS] Problems Importing Configurations


Almost there!  As I suggested in one of my responses, if you have
problems, please see:

https://issues.apache.org/jira/browse/FLEX-34258

-Alex


On 6/16/14 8:42 AM, "V Chandrasekhar" <shake...@yahoo.com.INVALID> wrote:

>I don't know how to add this to my existing thread, when I email instead
>of using Nabble.
>
>I am trying to follow the instructions in
> 
>https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+F
>lash+Builder, specifically
>
>Once you have your app working as a SWF, try the FalconJX tool in the Run
>menu.
>
>
>Is this the FalconJX Debug and Release Build tool?
>
>I get the following error when I run this tool:
>
>using FlashBuilder Project Files
>FlashBuilder settings:
>    -locale
>    en_US
>    -source-path+=C:\Users\shaker.chandrasekhar\Adobe Flash Builder
>4.7\DataBindingTest/src
>    -compiler.accessible=true
>    -output=C:\Users\shaker.chandrasekhar\Adobe Flash Builder
>4.7\DataBindingTest/bin-release/DataBindingTest.swf
>    -library-path+=C:\Users\shaker.chandrasekhar\Adobe Flash Builder
>4.7\DataBindingTest/libs
>    -js-output-type=FLEXJS
>    -sdk-js-lib=c:\FlexJS\js\bin\..\..\frameworks\js\FlexJS\src
>    -fb
>    C:\Users\shaker.chandrasekhar\Adobe Flash Builder
>4.7\DataBindingTest/src/DataBindingTest.mxml
>
>command line
>Error: unknown configuration variable 'js-output-type'.
>
>Thanks.

Reply via email to