incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik de Bruin <e...@ixsoftware.nl>
Subject Re: [FalconJx] It's early, but does it cross compile?
Date Thu, 20 Dec 2012 11:02:52 GMT
Mike,

Got all 5 "Falcon" projects from SVN. I build Falcon and FalconJS
using ant on the command line (as per their respective READMEs). I've
loaded the 'compiler[.xx]' projects into Eclipse (Indigo on OS X).
Fixed some paths to get rid of the initial errors.

I was able to successfully run all 148 tests in 'compiler.jx.tests'
and those all passed (with 2 ignored?).

I then created a Debug Configuration on 'compiler.jx', pointing it to
"org.apache.flex.compiler.clients.MXMLJSC" as the 'Main class' (I am
not very familiar with Java, but some tweaking and Googling seemed to
indicate this was what might work). On the 'Arguments' tab I just
entered "./tests/TestApp.as". Hitting "Debug" got me the error I
mentioned.

How did I do?

EdB



On Thu, Dec 20, 2012 at 11:50 AM, Michael Schmalle
<apache@teotigraphix.com> wrote:
> Hey,
>
> No, at the moment it's "not" compiling js perse'. The whole development is
> focused on the unit tests.
>
> If you really want to get into the project, study the unit tests. I haven't
> brought the emitter up to the class/interface level. So using the
> compileJS() will give you weird output.
>
> "Missing builtin type Object"
>
> Means the playerglobal.SWC is not being load in the compiler.
>
> How are you actually trying to run it?
>
> BTW, First try running the unit tests and tell me if you have problems.
>
> Mike
>
>
>
>
> Quoting Erik de Bruin <erik@ixsoftware.nl>:
>
>> Hi (Mike),
>>
>> I've been thinking about AS -> JS a bit and I wanted to try some
>> stuff... I downloaded the FalconJx code from Mike's whiteboard and
>> tried to get it to compile some AS to JS for me. The best I could get
>> it to output was this error: "Missing builtin type Object" in
>> Eclipse's Console :-)
>>
>> Is there any way that I can make this work, so I can play with it and
>> get a better feel for what's possible and more importantly, what is
>> needed?
>>
>> Thanks!
>>
>> EdB
>>
>>
>>
>> --
>> 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
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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

Mime
View raw message