I did exactly what you now tried; checkout the whole Apache project, build framework and build compiler.

The only difference I see here is you are on OSX, but I think Carol is to.

I just ran my tests from the compiler.tests/build.xml and all passed.

Unfortunately, without sitting next to you and looking, I have no idea what is going wrong. I bet it is something small and ridiculous though.

Mike

Quoting Erik de Bruin <e...@ixsoftware.nl>:

Latest news:

- I got myself a new working copy of the entire Flex SVN repo, so I
don't need to mess with paths etc. anymore.
- I did a build of the SDK in 'branches/develop' without problems.
- I did a build of the Falcon compiler ('ant main' in trunk) and got
the EXACT SAME results as before, i.e. jUnit test fail and I get some
warnings!
- switching from ant 1.8 to 1.7.1 made the "includeantruntime" warning go away
- the build file in 'compiler' is looking for 'flexTasks.jar' in the
"ant/lib" directory of the SDK which, on my machine at least, does not
exist; changing all references to "ant/lib" to "lib" (3x), where that
jar does exist, makes the last warning go away;
- I created a JIRA ticket [1] and attached the output of 'ant main'
(after an 'ant wipe') to it.

Now, if these tests need to pass on my system before I can start
contributing, I need some input. If solving the reason why they fail
is some sort of initiation rite, it's going to take me a bit more time
to get into the 'inner circle' ;-)

EdB

1: https://issues.apache.org/jira/browse/FLEX-33271



On Mon, Nov 19, 2012 at 6:08 PM, Erik de Bruin <e...@ixsoftware.nl> wrote:
Ok,

I did a super-clean and main on the SDK, was successful.

Did a wipe and main on the compiler and compiler.tests, no luck.

I've piped the results of the compiler main to a text file. If anyone
is interested, I'll create a JIRA ticket and attache that file to it.

EdB


On Mon, Nov 19, 2012 at 5:02 PM, Erik de Bruin <e...@ixsoftware.nl> wrote:
Thank you! I already figured out the first 3, but not the
'sdk.branch', good suggestion.

EdB



On Mon, Nov 19, 2012 at 4:53 PM, Carol Frampton <cfram...@adobe.com> wrote:


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






--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com

Reply via email to