I was just about to say something like this.
From his directory structure (unit tests output), it doesn't look
like he checked things out from the full flex svn.
I decided to check out the whole Apache Flex project which took hours
but now I have a whole mirror of the Apache Flex svn on my computer.
I did exactly what Carol explained below and didn't have to edit
anything, only set env vars and build each unit, framework, compiler
and tests.
Mike
Quoting Carol Frampton <cfram...@adobe.com>:
On 11/18/12 12 :55PM, "Erik de Bruin" <e...@ixsoftware.nl> 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
--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com