I was on the verge of committing the "FlexJS in FalconJx" code, when I
did a final update of all sources to run in a clean environment and I
started hitting all these errors. I'm not set up to test code from
Falcon, sorry.

EdB



On Mon, Mar 11, 2013 at 7:16 PM, Chema Balsas <[email protected]> wrote:
> Hi Erik,
>
> I hit that myself yesterday and was just about to report it.
>
> I did exactly the same to fix the compile-time error for falconjs, and then
> got the exact same error when trying to compile the example.
>
> I also get a runtime error when trying to run the example swf compiled
> using Falcon... can you check if that doesn't work for you either?
>
> Cheers,
> Chema
>
>
> 2013/3/11 Erik de Bruin <[email protected]>
>
>> Then, when I fix the above error by adding a cast to
>> (BaseVariableNode), FalconJS builds without errors.
>>
>> I can now build the FlexJSUI.swc no problem.
>>
>> However, when I then try to compile the FlexJSTest_again example using
>> the following command starting in the 'as' directory:
>>
>> ../../../../../falcon/trunk/compiler.js/bin/mxmlc
>> -compiler.mxml.children-as-data
>> -library-path+=../../frameworks/as/libs/FlexJSUI.swc
>> -output=/Users/erik/Desktop/FlexJS/FlexJSTest.js -debug
>> FlexJSTest.mxml
>>
>> I get the following error:
>>
>> Using Falcon codebase:
>> ../../../../../falcon/trunk/compiler.js/bin/../../compiler
>> Using Flex SDK: /Users/erik/Documents/apacheFlex/repo/sdk
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/flex/compiler/internal/projects/FlexProject
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.flex.compiler.internal.projects.FlexProject
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>
>> Thanks for any input you can give me!
>>
>> EdB
>>
>>
>>
>>
>> On Mon, Mar 11, 2013 at 6:59 PM, Erik de Bruin <[email protected]> wrote:
>> > Alex,
>> >
>> > When I check out a fresh working copy of FalconJS and try to build it
>> > using the ant script or in Eclipse, I get the following error:
>> >
>> > compile:
>> >     [javac] Compiling 31 source files to
>> >
>> /Users/erik/Documents/ApacheFlex/repo_again/falcon/trunk/compiler.js/build/classes
>> >     [javac]
>> /Users/erik/Documents/ApacheFlex/repo_again/falcon/trunk/compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGeneratingReducer.java:5574:
>> > incompatible types
>> >     [javac] found   : org.apache.flex.compiler.tree.as.IVariableNode
>> >     [javac] required:
>> org.apache.flex.compiler.internal.tree.as.BaseVariableNode
>> >     [javac]         BaseVariableNode var_node =
>> > var_expr_node.getTargetVariable();
>> >     [javac]
>>        ^
>> >     [javac] Note:
>> >
>> /Users/erik/Documents/ApacheFlex/repo_again/falcon/trunk/compiler.js/build/generatedSrc/as3.codegen/org/apache/flex/compiler/internal/as/codegen/CmcJSEmitter.java
>> > uses unchecked or unsafe operations.
>> >     [javac] Note: Recompile with -Xlint:unchecked for details.
>> >     [javac] 1 error
>> >
>> > My copy of Falcon is also a fresh new working copy that builds correctly.
>> >
>> > Can you reproduce this?
>> >
>> > EdB
>> >
>> >
>> >
>> > --
>> > 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

Reply via email to