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-compiler.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 70cff1b  Updated Eclipse Setup (markdown)
70cff1b is described below

commit 70cff1bb8ebbe9a894cffd395f7aa05f03d80ee5
Author: aharui <aha...@apache.org>
AuthorDate: Sat Jun 2 23:02:24 2018 -0700

    Updated Eclipse Setup (markdown)
---
 Eclipse-Setup.md | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/Eclipse-Setup.md b/Eclipse-Setup.md
index efb2b3b..5962581 100644
--- a/Eclipse-Setup.md
+++ b/Eclipse-Setup.md
@@ -11,16 +11,18 @@ Setup of the royale-compiler project in Eclipse should be 
pretty straight-forwar
 
 Aditonally, there is a classpath variable used in the `compiler` project which 
references `ANT_JAR`. A class path variable named `ANT_JAR` should be created 
in the Eclipse preferences which should reference the file named `ant.jar` 
located in the ant distribution on your computer.
 
+All of these projects should be at the top-level of the royals-compiler repo.  
There are other projects there as well and it should be ok to import all of 
them.
+
 ### Setup Debug Configurations
 
-This is the setup for developers working with the source code. If you only 
want to build applications with the Royale Compiler, see: Getting Started with 
the Royale Compiler.
+This is the setup for developers working with the source code. If you only 
want to build applications with the Royale Compiler, see the [Royale User 
Guide](user-guide).
 
 First you will need the following prerequisites:
 
 A. Java SE JDK 1.7 or later
 Some computers come with Java installed, but not only do you need a Java 
runtime (JRE) you need a Java Development Kit (JDK).  To find out if you have a 
JDK installed run
  
-javac -version
+`javac -version`
  
 The Java Compiler (javac) should print out its version if its already 
installed.  If not, download and install a JDK from 
http://www.oracle.com/technetwork/java/javase/downloads/index.html.  Then:
 Add the "bin" folder from wherever you installed it to your environment's PATH 
variable. 
@@ -31,15 +33,15 @@ Get Apache Ant from https://ant.apache.org/bindownload.cgi. 
 Unzip it somewhere.
 Add the "bin" folder from wherever you install it to your environment's PATH 
variable.
 Create a new ANT_HOME environment variable that points to the folder 
containing the unzipped files.
 
-C. Adobe AIR SDK
+C. Adobe AIR SDK (Only required for SWF output)
 Get a recent Adobe AIR SDK for Windows or Mac.  Unzip it somewhere.  Note that 
there are two types of AIR SDKs for each platform and the default type does not 
work well with Flex so use the links provided or make sure you select the 
Flex-compatible versions on the Adobe site.
 Create a new AIR_HOME environment variable that points to the folder 
containing the unzipped files.
 
-D. Adobe Flash Player playerglobal.swc
+D. Adobe Flash Player playerglobal.swc (Only required for SWF output)
 Get a recent playerglobal.swc file from the Adobe Flash Player Downloads page: 
https://www.adobe.com/support/flashplayer/downloads.html.  You will have to 
scroll down a bit to find the link.  Here, for example, is a link to the 
playerglobal.swc for Adobe Flash Player 18.0.  The filename will include the 
version number (e.g. playerglobal18_0.swc).  Rename the file to 
playerglobal.swc and place it in a folder containing the version number (e.g. 
18.0/playerglobal.swc on Mac and 18.0\playerg [...]
 Create a PLAYERGLOBAL_HOME environment variable that points to the folder 
containing the folder with the version number.  In the example above, it would 
be /Users/myusername/adobe/flashplayer on Mac and/or c:\adobe\flashplayer on 
Windows.
 
-E. Adobe Flash Player Projector Content Debugger
+E. Adobe Flash Player Projector Content Debugger (Only required for SWF output)
 Get a recent Projector Content Debugger (aka Standalone Debug Player) for your 
platform from the Adobe Flash Player Downloads page: 
https://www.adobe.com/support/flashplayer/downloads.html.
 Create a FLASHPLAYER_DEBUGGER environment variable that points to the 
Debugger.  For example, on Mac, if you store the Debugger in 
"/Users/myusername/adobe/flashplayer/18.0/Flash Player Debugger.app", you would 
set the environment variable to: 
  "/Users/myusername/adobe/flashplayer/18.0/Flash Player 
Debugger.app/Contents/MacOS/Flash Player Debugger" (without quotes) and on 
Windows, if you store the Debugger in 
c:\adobe\flashplayer\18.0\flashplayer_18_sa_debug.exe, you would set the 
environment variable to c:\adobe\flashplayer\18.0\flashplayer_18_sa_debug.exe.
@@ -62,7 +64,7 @@ In the royale-compiler folder, run 'ant'.
 
 Using Eclipse
 
-We are using Eclipse Helios for Java 1.6 compatibility because at least one of 
the jars (flex-oem-compiler) needs to be 1.6 compatible to work with Flash 
Builder.  There are eclipse project files in the royals-compiler repo. The 
run/debug configuration for building a Royale SWF in Eclipse needs the 
following settings (Assuming the path to the flex-asjs repo is 
/Users/myusername/git/apache/flex/flex-asjs):
+We are using Eclipse Helios for Java 1.6 compatibility because at least one of 
the jars (flex-oem-compiler) needs to be 1.6 compatible to work with Flash 
Builder.  There are eclipse project files in the royale-compiler repo. The 
run/debug configuration for building a Royale SWF in Eclipse needs the 
following settings (Assuming the path to the flex-asjs repo is 
/Users/myusername/git/apache/flex/flex-asjs):
 
 Program Arguments:
  
@@ -76,4 +78,4 @@ And the environment variables:
 PLAYERGLOBAL_HOME points to the folder containing versions of playerglobal.swc 
as specified above.  Thus, if you followed the instructions above on a Mac, you 
would set the variable to: /Users/myusername/adobe/flashplayer
 For cross-compiling with FalconJX the Program Arguments are:
  
-+flexlib="/Users/myusername/git/apache/flex/flex-asjs/frameworks" -debug 
/Users/myusername/git/apache/flex/flex-asjs/examples/flexjs/DataBindingExample/src/DataBindingExample.mxml
 -js-output-type=FLEXJS
++flexlib="/Users/myusername/git/apache/flex/flex-asjs/frameworks" -debug 
/Users/myusername/git/apache/flex/flex-asjs/examples/flexjs/DataBindingExample/src/DataBindingExample.mxml
 -js-output-type=FLEXJS
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
aha...@apache.org.

Reply via email to