Alex, I just went through the process again for 0.5.0 latest.
This time, for whatever reason, I have absolutely no issues with flashbuilder itself. FlashBuilder had weird errors the first time with 0.5.0. - I must have been missing something or did something wrong. Following the instructions in the readme for the binary dist worked perfect. Running ant examples , however, I see: SEVERE: ERROR - Cannot read: C:\ApacheFlex\apache-flex-flexjs-0.5.0-bin\frameworks\js\FlexJS\libs\jquery_externals.js That directory does not exist in the 0.5.0 build. I don't know if the sdk build.xml was supposed to change to the js\externs directory, and this is left over from some earlier build? This happens in multiple builds for "ant examples", but the result of ALL builds shows success. It may be misleading people to think that all examples build ok. Regards, -----Original Message----- From: Tom Brazil Sent: Sunday, November 08, 2015 9:47 AM To: [email protected] Subject: RE: Question about Flexjs and Mobile I will start from scratch to try to recreate the situation today with the latest RC. I will keep you posted. Tom -----Original Message----- From: Alex Harui [mailto:[email protected]] Sent: Sunday, November 08, 2015 8:52 AM To: [email protected] Subject: Re: Question about Flexjs and Mobile Hey Tom, This is still the best news I’ve had all weekend, but now my curiosity is up about what issues you had with the 0.5.0 RC1. I don’t think I’m making any changes for FalconJX RC2 that would address any issues here. If you have time, can you provide more detail? Thanks, -Alex On 11/7/15, 10:16 PM, "Alex Harui" <[email protected]> wrote: >Hi Tom, > >That’s great news! > >Thanks, >-Alex > >On 11/7/15, 12:50 PM, "Tom Brazil" <[email protected]> wrote: > >>After some experimentation, I could not get the RC1 0.5.0 candidate to >>work properly. >>Following your threads on the RC1, I think I know why, so I moved on >>to the 0.0.2 alpha to learn the fundamentals. >> >>I have success to report: >> >>1) I installed PhoneGap Desktop and created the CordovaCameraExample >>project (just structure, nothing in it). >>2) I installed PhoneGap Developer on the iPad-2 from iTunes >>3) I installed cordova via npm >>4) I was able to build the flexjs 0.0.2 alpha and use that SDK (after >>ant >>install) for FlashBuilder 4.7 (launch of falcon compiles example >>projects properly, except cordova). >>5) I followed the readme for the cordova example and did the >>command-line instead >> --> On a windows box, the cordova-build.xml needs to be edited so >> --> that >>"cordova" is not executed, but cmd.exe executes cordova: >> >>Examples: >> >> <target name="create" unless="app.dir.exists"> >> <!-- create the project --> >> <exec executable="cmd.exe" dir="${target.dir}"> >> <arg value="/C"/> >> <arg value="cordova"/> >> <arg value="create" /> >> <arg value="${project.name}" /> >> <arg value="org.apache.flex.mobile" /> >> <arg value="${project.name}" /> >> </exec> >> >> <!-- add in the platforms --> >> <exec executable="cmd.exe" dir="${app.dir}"> >> <arg value="/C"/> >> <arg value="cordova"/> >> <arg value="platform" /> >> <arg value="add" /> >> <arg value="iOS" /> >> </exec> >> </target> >> ... >> <target name="build" depends="copyfiles"> >> <!-- build the app --> >> <exec executable="cmd.exe" dir="${app.dir}"> >> <arg value="/C"/> >> <arg value="cordova"/> >> <arg value="build" /> >> </exec> >> </target> >> >>6) This command worked from the PhoneGap created "CordovaCameraExample" >>project directory: >> >>ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample >>-DTARGET_DIR=C:\Users\tom\CordovaProjects\CordovaCameraExample >>-DPROJECT_DIR=C: >>\ApacheFlex\apache-flex-flexjs-0.0.2-bin\examples\CordovaCameraExample >>\ >> >>All I had to do at that completed was click the "Start/Play" button on >>the PhoneGap desktop UI for that project, and on the iPad2 run the >>PhoneGap Developer app, click Connect, and voila! >>The CordovaCameraExample app was running on the iPad2! How freaking >>cool is that???? >> >>So, I took a picture of myself through the app I just deployed on the >>iPad, smiling at success, and mailed it to my team. >> >>I would like to thank Alex and team for their tireless work on Flexjs. >>I am not sure people realize how incredible Flexjs will be when used >>with rapid test/deployment platforms like Cordova/PhoneGap. >> >>Now that I have this all figured out I am looking forward to the RC >>being released so I can build a great app -- and using phoneGap deploy >>for all target platforms rapidly. >> >>Thanks again, >> >>Tom >> >>-----Original Message----- >>From: [email protected] [mailto:[email protected]] On Behalf Of >>OmPrakash Muppirala >>Sent: Wednesday, November 04, 2015 2:24 PM >>To: [email protected] >>Subject: Re: Question about Flexjs and Mobile >> >>Potentially, we can run >>1. the flash version on AIR >>2. the HTML version on AIR via StageWebView 3. the HTML version on >>Phonegap >> >>One way or the other, mobile support will be there :-) >> >>Thanks, >>Om >> >>On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <[email protected]> wrote: >> >>> Hi, >>> >>> We have the MobileTrader example in the flex-asjs/examples/flexjs >>> directory. This demonstrates the initial Mobile package. This will >>> run on the desktop, but if you deploy it to your phone using Apache >>> Cordova, it will work there, too - iOS and Android. >>> >>> Peter Ent >>> Adobe Systems >>> >>> On 11/4/15, 2:39 AM, "Tom Brazil" <[email protected]> wrote: >>> >>> >I have seen the examples for Flexjs for desktop, which are nice. Do >>> >you have any examples for mobile yet? >>> >Looking forward to the upcoming beta. >>> > >>> >Tom >>> > >>> >>> >
