flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com>
Subject Re: FlexJS: Cordova Application, Missing cordova.js
Date Mon, 23 May 2016 13:58:54 GMT

I see the problem and I will try to clarify this on the wiki page.

bin/js-debug is the result of cross-compiling the ActionScript/MXML code
in src. This is not actually runnable. This code needs to be turned into a
Cordova application.

On the Wiki page, under the "Creating the Application" section, step 4 has
you run the cordova-build.xml ANT script which not only runs the
cross-compile for you, it should also have built the Cordova application
in the app sub-directory (such as app/Demo).

The ANT script also copies the bin/js-debug files into app/Demo/www.

To actually run the application, you do it either using the ANT script

ant -f ${FLEXJSINSTALL_DIR}/cordova-build.xml run  (don't forget to add
-Dplatform=browser if you want to run this in the browser)

or you can run it yourself:

cd app/Demo
cordova run browser (or whatever platform you are using).

The bottom line is that bin/js-debug is not runnable on its own; it is
designed to be run within Cordova.


On 5/23/16, 2:49 AM, "PKumar" <prashakumar@gmail.com> wrote:

>any suggestion on it?
>View this message in context:
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message