royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-asjs.wiki] branch master updated: Updated Flash Builder 4.7 (markdown)
Date Tue, 12 Dec 2017 19:21:57 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 736c4ca  Updated Flash Builder 4.7 (markdown)
736c4ca is described below

commit 736c4cae3a314443cdc5d1ccdf16a572df4cd41c
Author: aharui <aharui@apache.org>
AuthorDate: Tue Dec 12 11:21:56 2017 -0800

    Updated Flash Builder 4.7 (markdown)
---
 Flash-Builder-4.7.md | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/Flash-Builder-4.7.md b/Flash-Builder-4.7.md
index 3a87f0d..7eb3e24 100644
--- a/Flash-Builder-4.7.md
+++ b/Flash-Builder-4.7.md
@@ -7,23 +7,27 @@ You need to upgrade Flash Builder to run with Java 7 or Java 8. This link
will t
 
 # Build Royale SDK
 
-> As of this writing, a release-copy installer is not yet working for Royale, so these
instructions
+> As of this writing, an official release is not yet available for Royale, so these instructions
 > use a nightly build of Royale instead. Bear in mind that a nightly build is not guaranteed
to work. Unlike an official release - 
 > which is checked and tested by members of the Apache Royale committee - a nightly build
is just an assembly of that day's 
 > commits to the repository. We try to make sure it always works, but sometimes it is
broken. Should that happen, try a day
 > earlier.
 
-Download a nightly build of the Apache Royale SDK: <http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs/>
+Download a nightly build of the Apache Royale SDK: <http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs/>.
 If you want to build SWFs and well as generate JS output, choose the "apache-royale-0.9.0-bin"
package.  If you only want JS output, you can choose the "apache-royale-jsonly-0.9.0-bin"
package.
 
 Once downloaded, decompress it. The resulting directory contains binary executables for the
Royale compiler as well as source and binaries for the Royale application frameworks.
 
-At this point you need to turn this into an SDK that Flash Builder 4.7 will recognize.
+To be able to use the Flash Builder Launch Configurations, set the current directory to the
ide/flashbuilder folder and run:
+
+    % ant -f antscripts.xml
+
+If you want SWF output, set the current directory to the root of the SDK and run and follow
the instructions in:
 
     % ant -f InstallAdobeSDKs.xml
 
 The InstallAdobeSDKs.xml ANT script requires additional items to be downloaded. The script
will not download them for you, but will give you instructions and pause so you can download
them yourself. Once each piece is downloaded, press any key to move to the next until all
parts have been downloaded.
 
-The script then finishes on its own and the royale-asjs repository is now ready for you to
use with Flash Builder 4.7
+The script then finishes on its own and the royale-asjs repository is now ready for you to
use with Flash Builder 4.7.
 
 # Configure Flash Builder 4.7
 
@@ -79,13 +83,8 @@ After a few moments the file's contents will be replaced with:
 
 Now you can run it as a Web Application. 
 
-At this point you can create, run, and debug Royale applications from Flash Builder. The
applications will use the Flash Player.
+At this point, if you set up SWF output support, you can create, run, and debug Royale applications
from Flash Builder. The applications will use the Flash Player.
 
 ## Building Applications for the Browser
 
-Flash Builder normally builds applications to run in the Flash Player. But Royale is designed
to also run as JavaScript/HTML natively in the browser. To do this, your Royale ActionScript
and MXML files need to be cross-compiled (or "transpiled") into JavaScript. Flash Builder
can do this a launch configuration tool.
-
-1. Select either your project in the Package Explorer or select the main application MXML
file.
-1. From the "Run" menu, pick "External Tools" and "Royale (FalconJX Debug Build)"
-
-Flash Builder will launch the compiler to convert your application into JavaScript. The result
be in the bin/js-debug directory. In that directory will be an index.html file you can open
from your browser.
\ No newline at end of file
+Flash Builder normally builds applications to run in the Flash Player. But Royale is designed
to also output JavaScript/HTML to be run natively in the browser.  Whether you set up SWF
output or not, on each compile, the Royale compiler should have also generated a "bin" folder
next to your "bin-debug" folder, and in it should be a js-debug folder containing JavaScript
cross-compiled (or "transpiled") from your Royale ActionScript and MXML source files.  You
can launch the application by  [...]
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message