On 11/18/12 12 :55PM, "Erik de Bruin" <[email protected]> wrote:
>Hi,
>
>I have followed the various instructions and was able to successfully
>build the Falcon compiler. Along the way I encountered several issues
>that are not yet documented (I'm on OS X 10.8):
>
>- I needed to edit the 'build.xml' file on line 50, to point the
>'sdk.branch' property to the correct location of the SDK on my system;
>- when trying to use the mxmlc on a project, I got 'permission
>denied'. Setting the executable bit on the file corrected that;
I'm running on OS X 10.7. If you follow the instructions in the
falcon/trunk/README you should not have to make any edits to build.xml
assuming your directory tree looks like it does in svn.
Before trying to build Falcon, you must:
1. Build the the "develop" branch of the SDK at
incubator/flex/sdk/branches/develop by doing 'ant main'.
See the README there for instructions.
2. Set the environment variables JAVA_HOME, ANT_HOME, and
PLAYERGLOBAL_HOME as when building the SDK.
3. Set the environment variable JFLEX_JAR to point to the JAR file for
JFlex 1.4.3.
sdk.branch is set to <property name="sdk.branch"
value="${compiler}/../../../sdk/branches/develop"/>. If this is not the
case for you, rather than edit build.xml invoke it with
ant -Dsdk.branch=/path/to/sdk
or add falcon/complier/local.properties and set sdk.branch in there.
Carol