OK, I'll email you directly.
On 3/11/13 11:57 AM, "Erik de Bruin" <[email protected]> wrote: > Ok, well, let's not wast too much time on FalconJS. Maybe you can send > me the most recent 'debug' JS output from the most recent > FlexJSText_again example, so I can put that into the tests for > FalconJx and use it to verify my implementation? > > EdB > > > > On Mon, Mar 11, 2013 at 7:54 PM, Alex Harui <[email protected]> wrote: >> Yeah, that appears to be the case. I'm not sure what the best solution is. >> I don't have this problem because when developing the compiler I am running >> from Eclipse, and when writing AS or JS code I am running from Flash Builder >> with the compiler "deployed" or running from Eclipse. >> >> >> On 3/11/13 11:47 AM, "Alex Harui" <[email protected]> wrote: >> >>> The class not found is FlexProject, so it is unrelated. >>> >>> I think the issue is that I have wired up the classpaths for the >>> package/deployer in the FlexJSOverlay.zip, so it is looking for Falcon in >>> ../../lib >>> >>> >>> >>> On 3/11/13 11:41 AM, "Michael Schmalle" <[email protected]> wrote: >>> >>>> Alex, >>>> >>>> The other day I added the IVariableExpressionNode interface, was >>>> working on todos of the framework(small ones). >>>> >>>> I did not have the falcon.js project open so the cast was not added to >>>> that class(my fault). >>>> >>>> But I cannot see how adding a cast to an instance that has to be of >>>> type BaseVariableNode anyway could cause a class not found exception. >>>> I makes no sense at all. >>>> >>>> Mike >>>> >>>> >>>> Quoting Alex Harui <[email protected]>: >>>> >>>>> I synced up and am getting these errors too. I'm looking into it. >>>>> >>>>> >>>>> On 3/11/13 11:20 AM, "Erik de Bruin" <[email protected]> wrote: >>>>> >>>>>> 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/buil>>>> >> >> >> d >>>>>>>> /c >>>>>>>> lasses >>>>>>>>> [javac] >>>>>>>> >> /Users/erik/Documents/ApacheFlex/repo_again/falcon/trunk/compiler.js/src/>>>> >> >> >> o >>>>>>>> rg >>>>>>>> /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/buil>>>> >> >> >> d >>>>>>>> /g >>>>>>>> >> eneratedSrc/as3.codegen/org/apache/flex/compiler/internal/as/codegen/CmcJ>>>> >> >> >> S >>>>>>>> Em >>>>>>>> itter.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 >>>>> >>>>> -- >>>>> Alex Harui >>>>> Flex SDK Team >>>>> Adobe Systems, Inc. >>>>> http://blogs.adobe.com/aharui >>>>> >>>>> >> >> -- >> Alex Harui >> Flex SDK Team >> Adobe Systems, Inc. >> http://blogs.adobe.com/aharui >> > > > > -- > Ix Multimedia Software > > Jan Luykenstraat 27 > 3521 VB Utrecht > > T. 06-51952295 > I. www.ixsoftware.nl -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
