Re: Any ideas why building asjs release target fails?
Pulled the latest on the develop branch. ant wipe-all ant all ... [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSFile [junit] IDocument not resolved in controllers.MyController [junit] Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.245 sec BUILD FAILED /Users/dloverin/ApacheFlex/falcon/build.xml:175: The following error occurred while executing this line: /Users/dloverin/ApacheFlex/falcon/compiler.jx.tests/build.xml:64: Tests failed On Sun, Jun 14, 2015 at 1:01 AM, Alex Harui aha...@adobe.com wrote: Try syncing up flex-falcon. Run ‘ant wipe-all’ and ‘ant all’ The compiler has changed how it finds files. -Alex On 6/13/15, 9:49 PM, Darrell Loverin darrell.love...@gmail.com wrote: Trying to build the release target: ant -Dbuild.number=20140613 -Dbuild.prompt= release getting the below errors: basictests-compile-js: [echo] FLEX_HOME: /Users/dloverin/ApacheFlex/asjs [echo] FALCONJX_HOME: /Users/dloverin/ApacheFlex/falcon/compiler.jx [echo] GOOG_HOME: /Users/dloverin/closure-library [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/BasicTestsApp. js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/BasicTests.js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/shim/VBox.js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/halo/views/But tonTests.js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/halo/views/Che ckBoxTests.js [java] java.io.FileNotFoundException: (No such file or directory) [java] at java.io.FileInputStream.open(Native Method) [java] at java.io.FileInputStream.init(FileInputStream.java:138) [java] at java.io.FileInputStream.init(FileInputStream.java:97) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependenci es(GoogDepsWriter.java:319) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWri ter.java:149) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWri ter.java:164) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWri ter.java:164) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWri ter.java:103) [java] Could not find file for class: org_apache_flex_core_IEffectTimer at org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDe psWriter.java:73) [java] [java] at org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher. publish(MXMLFlexJSPublisher.java:168)Could not find file for class: org_apache_flex_core_ValuesManager [java] Could not find file for class: org_apache_flex_events_EventDispatcher [java] Could not find file for class: org_apache_flex_events_ValueEvent [java] Could not find file for class: org_apache_flex_core_IBead [java] Could not find file for class: org_apache_flex_core_IStatesImpl [java] Could not find file for class: org_apache_flex_core_IStrand [java] Could not find file for class: org_apache_flex_core_UIBase [java] Could not find file for class: org_apache_flex_states_AddItems [java] Could not find file for class: org_apache_flex_states_SetEventHandler [java] [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:427) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220) ... [java] ERROR - Duplicate input: /Users/dloverin/ApacheFlex/asjs [java] [java] 1 error(s), 0 warning(s) [java] File not found: org_apache_flex_core_IValuesImpl [java] [java] File not found: org_apache_flex_states_SetEventHandler [java] [java] File not found: org_apache_flex_core_IBead [java] [java] File not found: org_apache_flex_core_IDocument [java] [java] File not found: org_apache_flex_states_AddItems [java] [java] File not found: org_apache_flex_events_ValueEvent [java] [java] File not found: org_apache_flex_core_UIBase [java] [java] File not found: org_apache_flex_core_IEffectTimer [java] [java] File not found: org_apache_flex_core_IParent [java] [java] File not found: org_apache_flex_core_BeadViewBase [java] [java] File not found: org_apache_flex_core_ILayoutParent [java] [java] File not found: org_apache_flex_states_SetProperty [java] [java] File not found: org_apache_flex_core_HTMLElementWrapper [java
Any ideas why building asjs release target fails?
Trying to build the release target: ant -Dbuild.number=20140613 -Dbuild.prompt= release getting the below errors: basictests-compile-js: [echo] FLEX_HOME: /Users/dloverin/ApacheFlex/asjs [echo] FALCONJX_HOME: /Users/dloverin/ApacheFlex/falcon/compiler.jx [echo] GOOG_HOME: /Users/dloverin/closure-library [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/BasicTestsApp.js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/BasicTests.js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/shim/VBox.js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/halo/views/ButtonTests.js [java] Compiling file: /Users/dloverin/ApacheFlex/asjs/mustella/tests/bin/js-debug/halo/views/CheckBoxTests.js [java] java.io.FileNotFoundException: (No such file or directory) [java] at java.io.FileInputStream.open(Native Method) [java] at java.io.FileInputStream.init(FileInputStream.java:138) [java] at java.io.FileInputStream.init(FileInputStream.java:97) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) [java] Could not find file for class: org_apache_flex_core_IEffectTimer at org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:73) [java] [java] at org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:168)Could not find file for class: org_apache_flex_core_ValuesManager [java] Could not find file for class: org_apache_flex_events_EventDispatcher [java] Could not find file for class: org_apache_flex_events_ValueEvent [java] Could not find file for class: org_apache_flex_core_IBead [java] Could not find file for class: org_apache_flex_core_IStatesImpl [java] Could not find file for class: org_apache_flex_core_IStrand [java] Could not find file for class: org_apache_flex_core_UIBase [java] Could not find file for class: org_apache_flex_states_AddItems [java] Could not find file for class: org_apache_flex_states_SetEventHandler [java] [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:427) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220) ... [java] ERROR - Duplicate input: /Users/dloverin/ApacheFlex/asjs [java] [java] 1 error(s), 0 warning(s) [java] File not found: org_apache_flex_core_IValuesImpl [java] [java] File not found: org_apache_flex_states_SetEventHandler [java] [java] File not found: org_apache_flex_core_IBead [java] [java] File not found: org_apache_flex_core_IDocument [java] [java] File not found: org_apache_flex_states_AddItems [java] [java] File not found: org_apache_flex_events_ValueEvent [java] [java] File not found: org_apache_flex_core_UIBase [java] [java] File not found: org_apache_flex_core_IEffectTimer [java] [java] File not found: org_apache_flex_core_IParent [java] [java] File not found: org_apache_flex_core_BeadViewBase [java] [java] File not found: org_apache_flex_core_ILayoutParent [java] [java] File not found: org_apache_flex_states_SetProperty [java] [java] File not found: org_apache_flex_core_HTMLElementWrapper [java] [java] File not found: org_apache_flex_core_IStatesImpl [java] [java] File not found: org_apache_flex_core_IBeadLayout [java] [java] File not found: org_apache_flex_core_IPopUpHost [java] [java] File not found: org_apache_flex_events_Event [java] [java] File not found: org_apache_flex_utils_Language [java] [java] File not found: org_apache_flex_core_ValuesManager [java] [java] File not found: org_apache_flex_html_Button [java] [java] File not found: org_apache_flex_core_IStrand [java] [java] File not found: org_apache_flex_events_ValueChangeEvent [java] [java] File not found: org_apache_flex_utils_MXMLDataInterpreter [java] [java] File not found: org_apache_flex_core_ContainerBase [java] [java] File not found: org_apache_flex_events_EventDispatcher [java] [java] File not found:
Re: [jira] (FLEX-33155)
Was unable to reproduce the issue from the command line (no FB license on my machine), I removed the workaround from the mxmlc script ( -Djava.util.Arrays.useLegacyMergeSort=true) and set -incremental=true. Will try a few more things this coming week. If you have a reproducible scenario from the command line please let me know. -Darrell On Fri, Mar 27, 2015 at 9:05 PM, Héctor A neverbi...@gmail.com wrote: That would be great. Thank you. On Sat, Mar 28, 2015 at 1:54 AM, Darrell Loverin darrell.love...@gmail.com wrote: I used to be familiar with that code. I'll take a look at the patch this weekend. -Darrell On Friday, March 27, 2015, Héctor A neverbi...@gmail.com wrote: It would be nice if somebody could check if the submitted patch is valid. It's a longtime issue affecting many users, and it's a shame that the contributor of the patch has been ignored. From what I read here http://silight.hatenablog.jp/entry/2014/09/21/231123 , this block of code https://github.com/apache/flex-sdk/blob/develop/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java#L307 is causing the problem as there are times where both swcScript1CompilationUnit.hasTypeInfo and swcScript2CompilationUnit.hasTypeInfo are true causing both compare(swcScript1, swcScript2) and compare(swcScript2, swcScript1) to be 0, which is not valid in a Sort method in Java 1.7.
Re: [jira] (FLEX-33155)
I used to be familiar with that code. I'll take a look at the patch this weekend. -Darrell On Friday, March 27, 2015, Héctor A neverbi...@gmail.com wrote: It would be nice if somebody could check if the submitted patch is valid. It's a longtime issue affecting many users, and it's a shame that the contributor of the patch has been ignored. From what I read here http://silight.hatenablog.jp/entry/2014/09/21/231123 , this block of code https://github.com/apache/flex-sdk/blob/develop/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java#L307 is causing the problem as there are times where both swcScript1CompilationUnit.hasTypeInfo and swcScript2CompilationUnit.hasTypeInfo are true causing both compare(swcScript1, swcScript2) and compare(swcScript2, swcScript1) to be 0, which is not valid in a Sort method in Java 1.7.
Re: [jira] [Comment Edited] (FLEX-34809) Flex Code Coverage Tool
What it means is my employer, SimpliVity, allowed me some time at work for project and as one of my quarterly goals. -Darrell On Sun, Mar 22, 2015 at 2:39 AM, Erik de Bruin e...@ixsoftware.nl wrote: Darrell Loverin edited comment on FLEX-34809 at 3/22/15 1:27 AM: - This code coverage tool was brought to you by SimpliVity, https://www.simplivity.com. What does that mean? I put on my brave hat and risked clicking the link, but it just leads to a corporate frontpage. I do not see the relevance of that link with regard to the contribution... EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl
Re: Request write access to the Flex Wiki
Here's a link to my account: https://cwiki.apache.org/confluence/display/~dloverin Thanks, -Darrell On Sat, Mar 21, 2015 at 11:26 AM, Alex Harui aha...@adobe.com wrote: Hi Darrell, The wiki has its own account system. I’m not finding you in the system. Please create your account and then I can give you access. Thanks, -Alex On 3/21/15, 6:23 AM, Darrell Loverin darrell.love...@gmail.com wrote: Could someone please give me (dloverin) write access to the Flex Wiki. I'd like to add a Confluence page to describe how to use the Flex Code Coverage Tool that is now ready for use (will be committed soon). Thanks, -Darrell
Request write access to the Flex Wiki
Could someone please give me (dloverin) write access to the Flex Wiki. I'd like to add a Confluence page to describe how to use the Flex Code Coverage Tool that is now ready for use (will be committed soon). Thanks, -Darrell
Re: Request write access to the Flex Wiki
Thanks! I have write access now. Here's the page: https://cwiki.apache.org/confluence/display/FLEX/Code+Coverage+Tool On Sat, Mar 21, 2015 at 7:15 PM, Alex Harui aha...@adobe.com wrote: Ok, try it now. On 3/21/15, 8:33 AM, Darrell Loverin darrell.love...@gmail.com wrote: Here's a link to my account: https://cwiki.apache.org/confluence/display/~dloverin Thanks, -Darrell On Sat, Mar 21, 2015 at 11:26 AM, Alex Harui aha...@adobe.com wrote: Hi Darrell, The wiki has its own account system. I’m not finding you in the system. Please create your account and then I can give you access. Thanks, -Alex On 3/21/15, 6:23 AM, Darrell Loverin darrell.love...@gmail.com wrote: Could someone please give me (dloverin) write access to the Flex Wiki. I'd like to add a Confluence page to describe how to use the Flex Code Coverage Tool that is now ready for use (will be committed soon). Thanks, -Darrell
Eclipse project files in git
I've been working on improving the existing Code Coverage Tool in utilities. I'm getting ready to commit the work but I'm not sure whether to commit the Eclipse project files with the code. Are they considered helpful or clutter? I've attached an example code coverage report from the tool I took while running a mustella test on components/Button. Thanks, -Darrell ?xml version=1.0 encoding=utf-8?code-coverage version=1.0line-coverage executed=513 total=652 percent=78/line-coveragemethod-coverage executed=46 total=59 percent=77/method-coverageinclude-filtersinclude-filtermx.controls.Button/include-filter/include-filterspackagespackage name=mx.controlsline-coverage executed=513 total=652 percent=78/line-coveragemethod-coverage executed=46 total=59 percent=77/method-coveragefilesfile name=Button.asline-coverage executed=513 total=652 percent=78unexecuted-setunexecuted922/unexecutedunexecuted924/unexecutedunexecuted925/unexecutedunexecuted927/unexecutedunexecuted997/unexecutedunexecuted998/unexecutedunexecuted1055/unexecutedunexecuted1092/unexecutedunexecuted1094/unexecutedunexecuted1100/unexecutedunexecuted1105/unexecutedunexecuted1107/unexecutedunexecuted1108/unexecutedunexecuted1110/unexecutedunexecuted1112/unexecutedunexecuted1114/unexecutedunexecuted1116/unexecutedunexecuted1117/unexecutedunexecuted1119/unexecutedunexecuted1123/unexecutedunexecuted1126/unexecutedunexecuted1128/unexecutedunexecuted1129/unexecutedunexecuted1131/unexecutedunexecuted1133/unexecutedunexecuted1134/unexecutedunexecuted1137/unexecutedunexecuted1138/unexecutedunexecuted1198/unexecutedunexecuted1200/unexecutedunexecuted1206/unexecutedunexecuted1208/unexecutedunexecuted1209/unexecutedunexecuted1353/unexecutedunexecuted1355/unexecutedunexecuted1361/unexecutedunexecuted1363/unexecutedunexecuted1364/unexecutedunexecuted1502/unexecutedunexecuted1504/unexecutedunexecuted1505/unexecutedunexecuted1506/unexecutedunexecuted1607/unexecutedunexecuted1638/unexecutedunexecuted1639/unexecutedunexecuted1645/unexecutedunexecuted1646/unexecutedunexecuted1647/unexecutedunexecuted1649/unexecutedunexecuted1650/unexecutedunexecuted1664/unexecutedunexecuted1948/unexecutedunexecuted1972/unexecutedunexecuted1989/unexecutedunexecuted2114/unexecutedunexecuted2122/unexecutedunexecuted2123/unexecutedunexecuted2145/unexecutedunexecuted2155/unexecutedunexecuted2156/unexecutedunexecuted2160/unexecutedunexecuted2161/unexecutedunexecuted2164/unexecutedunexecuted2167/unexecutedunexecuted2184/unexecutedunexecuted2185/unexecutedunexecuted2186/unexecutedunexecuted2276/unexecutedunexecuted2278/unexecutedunexecuted2363/unexecutedunexecuted2364/unexecutedunexecuted2371/unexecutedunexecuted2375/unexecutedunexecuted2476/unexecutedunexecuted2495/unexecutedunexecuted2496/unexecutedunexecuted2497/unexecutedunexecuted2498/unexecutedunexecuted2515/unexecutedunexecuted2516/unexecutedunexecuted2517/unexecutedunexecuted2518/unexecutedunexecuted2519/unexecutedunexecuted2552/unexecutedunexecuted2561/unexecutedunexecuted2564/unexecutedunexecuted2573/unexecutedunexecuted2577/unexecutedunexecuted2579/unexecutedunexecuted2580/unexecutedunexecuted2581/unexecutedunexecuted2647/unexecutedunexecuted2654/unexecutedunexecuted2656/unexecutedunexecuted2657/unexecutedunexecuted2659/unexecutedunexecuted2663/unexecutedunexecuted2666/unexecutedunexecuted2668/unexecutedunexecuted2672/unexecutedunexecuted2676/unexecutedunexecuted2677/unexecutedunexecuted2679/unexecutedunexecuted2691/unexecutedunexecuted2698/unexecutedunexecuted2700/unexecutedunexecuted2704/unexecutedunexecuted2707/unexecutedunexecuted2709/unexecutedunexecuted2713/unexecutedunexecuted2716/unexecutedunexecuted2717/unexecutedunexecuted2719/unexecutedunexecuted2734/unexecutedunexecuted2772/unexecutedunexecuted2804/unexecutedunexecuted2805/unexecutedunexecuted2847/unexecutedunexecuted2849/unexecutedunexecuted2850/unexecutedunexecuted2851/unexecutedunexecuted2856/unexecutedunexecuted2858/unexecutedunexecuted2859/unexecutedunexecuted2861/unexecutedunexecuted2863/unexecutedunexecuted2865/unexecutedunexecuted2866/unexecutedunexecuted2867/unexecutedunexecuted2868/unexecutedunexecuted2869/unexecutedunexecuted2870/unexecutedunexecuted2871/unexecutedunexecuted2873/unexecutedunexecuted2878/unexecutedunexecuted2880/unexecutedunexecuted2881/unexecutedunexecuted2883/unexecutedunexecuted2884/unexecuted/unexecuted-set/line-coveragemethod-coverage executed=46 total=59
Re: How to know when a preload SWF is being unloaded?
http://www.kirupa.com/forum/showthread.php?309561-Event-listener-when-closi ng-Flash-application Didn't find anything helpful. On Sat, Feb 21, 2015 at 3:17 AM, Alex Harui aha...@adobe.com wrote: This might help: http://www.kirupa.com/forum/showthread.php?309561-Event-listener-when-closi ng-Flash-application -Alex On 2/20/15, 10:48 AM, Darrell Loverin darrell.love...@gmail.com wrote: Here's a code snippet: *this*.loaderInfo.addEventListener(Event.UNLOAD, unloadHandler); On Fri, Feb 20, 2015 at 1:47 PM, Darrell Loverin darrell.love...@gmail.com wrote: yes, but I don't get an event. On Fri, Feb 20, 2015 at 12:11 PM, Alex Harui aha...@adobe.com wrote: Did you try the UNLOAD event on LoaderInfo? http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash /di splay/LoaderInfo.html#event:unload http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flas h/display/LoaderInfo.html#event:unload On 2/20/15, 6:15 AM, Darrell Loverin darrell.love...@gmail.com wrote: This question is about the SWF loaded as a result of being specified with the preloadSWF key. The allComplete event tells the preload SWF when the application has been loaded but is there an event to tell when the application is being unloaded so the preload SWF can flush any buffered data? Thanks, -Darrell
Re: How to know when a preload SWF is being unloaded?
Should you be adding an listener to the contentLoaderInfo? I don't think so, I'm the application being loaded, not the loader. On Sat, Feb 21, 2015 at 4:25 AM, jude flexcapaci...@gmail.com wrote: Could the handler be getting removed? *this*.loaderInfo.addEventListener(Event.UNLOAD, unloadHandler); Should you be adding an listener to the contentLoaderInfo? *this*.contentLoaderInfo.addEventListener(Event.UNLOAD, unloadHandler); On Sat, Feb 21, 2015 at 12:17 AM, Alex Harui aha...@adobe.com wrote: This might help: http://www.kirupa.com/forum/showthread.php?309561-Event-listener-when-closi ng-Flash-application -Alex On 2/20/15, 10:48 AM, Darrell Loverin darrell.love...@gmail.com wrote: Here's a code snippet: *this*.loaderInfo.addEventListener(Event.UNLOAD, unloadHandler); On Fri, Feb 20, 2015 at 1:47 PM, Darrell Loverin darrell.love...@gmail.com wrote: yes, but I don't get an event. On Fri, Feb 20, 2015 at 12:11 PM, Alex Harui aha...@adobe.com wrote: Did you try the UNLOAD event on LoaderInfo? http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash /di splay/LoaderInfo.html#event:unload http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flas h/display/LoaderInfo.html#event:unload On 2/20/15, 6:15 AM, Darrell Loverin darrell.love...@gmail.com wrote: This question is about the SWF loaded as a result of being specified with the preloadSWF key. The allComplete event tells the preload SWF when the application has been loaded but is there an event to tell when the application is being unloaded so the preload SWF can flush any buffered data? Thanks, -Darrell
How to know when a preload SWF is being unloaded?
This question is about the SWF loaded as a result of being specified with the preloadSWF key. The allComplete event tells the preload SWF when the application has been loaded but is there an event to tell when the application is being unloaded so the preload SWF can flush any buffered data? Thanks, -Darrell
Re: How to know when a preload SWF is being unloaded?
yes, but I don't get an event. On Fri, Feb 20, 2015 at 12:11 PM, Alex Harui aha...@adobe.com wrote: Did you try the UNLOAD event on LoaderInfo? http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/di splay/LoaderInfo.html#event:unload On 2/20/15, 6:15 AM, Darrell Loverin darrell.love...@gmail.com wrote: This question is about the SWF loaded as a result of being specified with the preloadSWF key. The allComplete event tells the preload SWF when the application has been loaded but is there an event to tell when the application is being unloaded so the preload SWF can flush any buffered data? Thanks, -Darrell
Re: How to know when a preload SWF is being unloaded?
Here's a code snippet: *this*.loaderInfo.addEventListener(Event.UNLOAD, unloadHandler); On Fri, Feb 20, 2015 at 1:47 PM, Darrell Loverin darrell.love...@gmail.com wrote: yes, but I don't get an event. On Fri, Feb 20, 2015 at 12:11 PM, Alex Harui aha...@adobe.com wrote: Did you try the UNLOAD event on LoaderInfo? http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/di splay/LoaderInfo.html#event:unload http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/LoaderInfo.html#event:unload On 2/20/15, 6:15 AM, Darrell Loverin darrell.love...@gmail.com wrote: This question is about the SWF loaded as a result of being specified with the preloadSWF key. The allComplete event tells the preload SWF when the application has been loaded but is there an event to tell when the application is being unloaded so the preload SWF can flush any buffered data? Thanks, -Darrell
Is there a max version of the JAVA API that should be used in development?
Wondering if I can use Java 1.7 APIs for some code that would go in the utilities repository or if I should stay with 1.6? Thanks, -Darrell
Re: [FALCON] internal error related to identifier resolution (?)
No problem. It was not obvious, and I don’t think I’ve ever seen that pattern before. That’s why I’m hoping you or Gordon know how to teach the parser or reducer and other code how to handle this. It looks like the compiler sees the {} as a block and not an object literal. I'm currently trying to improve the code coverage utility so I don't have the cycles to take on this issue. -Darrell On Wed, Dec 31, 2014 at 11:12 AM, Alex Harui aha...@adobe.com wrote: No problem. It was not obvious, and I don’t think I’ve ever seen that pattern before. That’s why I’m hoping you or Gordon know how to teach the parser or reducer and other code how to handle this. It looks like the compiler sees the {} as a block and not an object literal. -Alex On 12/31/14, 5:06 AM, Darrell Loverin darrell.love...@gmail.com wrote: Agreed I see it now. Sorry for the bad info. -Darrell On Wednesday, December 31, 2014, Alex Harui aha...@adobe.com wrote: Yeah, I had to read it twice, but I believe result is supposed to be assigned to an Object with a property called “get” that points to a function. The {} after result is an Object literal. On 12/30/14, 8:03 PM, Greg Dove greg.d...@gmail.com javascript:; wrote: Darrell, isn't that get simply a field/property with a function value? If the issue is with the get keyword as a property name, then the OP could try using json-style field naming, with quotes: result = { get: function():Object { return JSON.parse(request.toString()); } }; If the above works unimpeded then the issue is with the new compiler not handling the keyword 'get' as a property name correctly (which it may now no longer allow as I understand it is more strict in some cases). On Wed, Dec 31, 2014 at 4:31 PM, Darrell Loverin darrell.love...@gmail.com javascript:; wrote: { // result = // { // get: function():Object // { // return JSON.parse(request.toString()); // } // }; To further isolate the problem I would try removing the get: label from the anonymous function to see it that compiles. I'm assuming this code works in the old compiler. -Darrell On Tue, Dec 30, 2014 at 11:40 AM, Alex Harui aha...@adobe.com javascript:; wrote: Hi, thanks for finding that. I forgot to ask you to use [FALCON] in the subject of these discussions (I changed the subject). Things like errors in the ABC subsystem might require advice from Gordon or Darrell. Thanks, -Alex On 12/30/14, 2:02 AM, Left Right olegsivo...@gmail.com javascript:; wrote: I was able to find the error: private function loadDescriptionBytes(request:ByteArray, success:Function, failure:Function):void { var result:Object; try { try { result = request.readObject(); if (!this.tryCreateDescription(result, success, failure)) { request.position = 0; throw new Error(); } } catch (error:Error) { // result = // { // get: function():Object // { // return JSON.parse(request.toString()); // } // }; if (!this.tryCreateDescription(result, success, failure)) { request.position = 0; throw new Error(); } } } catch (error:Error) { var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener( Event.COMPLETE, this.loaderCompleteHandler); this._success = success; this._failure = failure; loader.loadBytes(request, new LoaderContext(false, ApplicationDomain.currentDomain)); } } With the above commented, the compilation succeeds. On Tue, Dec 30, 2014 at 11:23 AM, Left Right olegsivo...@gmail.com javascript:; wrote: [mxmlc] /home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as [mxmlc] Error: Internal error in ABC generator subsystem, when generating code for: /home/wvxvw/workspace/hx-player/player/as3/com
Re: [FALCON] don't warn on assignment in while (condition) body
But -ignore-problems=org.apache.flex.compiler.problems. AbstractSemanticProblem doesn't currently cause all subclasses of AbstractSemanticProblem to be ignored, does it? I think it does. -Darrell On Thu, Jan 1, 2015 at 5:07 PM, Gordon Smith gsmit...@hotmail.com wrote: But -ignore-problems=org.apache.flex.compiler.problems.AbstractSemanticProblem doesn't currently cause all subclasses of AbstractSemanticProblem to be ignored, does it? - Gordon Date: Thu, 1 Jan 2015 15:50:11 -0500 Subject: Re: [FALCON] don't warn on assignment in while (condition) body From: darrell.love...@gmail.com To: dev@flex.apache.org The way warnings may be grouped is for example: syntactical, related to project structure, related to security, related to code safety (as opposed to security - a suspicious cast, an object used in a strange way etc.), related to code sloppiness - unused variables, function arguments, ureacheable code), deprecation warnings. The grouping of problems in Falcon is done via subclassing. AbstractSemanticProblem and its subclasses are an example of that. -Darrell On Thu, Jan 1, 2015 at 5:43 AM, Left Right olegsivo...@gmail.com wrote: Well, if you ask me how'd I like this to be, then, probably, I'd like this to have hierarchical structure (maybe I'm biased by how C compilers go about it). In other words, I'd like warnings to be grouped (not necessary by severity). Whether to warn on assignment inside condition is a matter of style, while warnings on duplicated source file most likely hint at an error. The way warnings may be grouped is for example: syntactical, related to project structure, related to security, related to code safety (as opposed to security - a suspicious cast, an object used in a strange way etc.), related to code sloppiness - unused variables, function arguments, ureacheable code), deprecation warnings. Then there could be some groups, which contain sets of warnings from different categories (such as pedantic, all, dangerous). Re' me being a committer - nope, not yet at least. I'm trying to convince my manager to let me migrate my project to use Falcon. Provided I'll succeed, I'll get time to work on the Falcon sources during my office hours and I'll be able to contribute more than just emails :) But this is far from being certain as of now. Which brings me to a completely unrelated question: if I wanted to convince someone to try Falcon, what would be the good argument to do so? Best, Oleg I would also like there to be a more easily recognizable names than 1234 and 5678 :) On Wed, Dec 31, 2014 at 10:29 PM, Gordon Smith gsmit...@hotmail.com wrote: Could this be improved to have a better interface? Darrell, don't -error-problems, -warning-problems, and -ignore-problems allow the problems to be specified either by fully-qualified class name or by numeric problem code? And isn't the numeric problem code displayed along with the problem message? Left Right, are you already a committer? If not, do you want to be one so that you can make improvements? If an option like -ignore-problems=1234,5678 works, do you think that's intuitive enough? I get 1388 hits for org.apache.flex.compiler.problems That's because there are 1388 or so classes representing compiler problems. No one would think of this as being an easy way to find an offending warning The way to search the source for the class representing a particular problem is to search for part of the English message. But you have to be careful not to search for something that is getting dynamically substituted for a placeholder in the string. I don't think most people would even go as far as looking into the source code for ways to void a warning message. Numeric problem codes seem like the way to go, if we don't already support them. - Gordon Date: Wed, 31 Dec 2014 11:56:45 +0200 Subject: Re: [FALCON] don't warn on assignment in while (condition) body From: olegsivo...@gmail.com To: dev@flex.apache.org Could this be improved to have a better interface?.. Grepping through the code I get 1388 hits for org.apache.flex.compiler.problems in Java files alone. No one would think of this as being an easy way to find an offending warning... But I don't think most people would even go as far as looking into the source code for ways to void a warning message. For those interested in this particular warning, I assume it's this one: org.apache.flex.compiler.problems.AssignmentInConditionalProblem Besides, there doesn't seem to be a way to specify this in the mxmlc Ant task... On Wed, Dec 31, 2014 at 4:28 AM, Darrell Loverin darrell.love...@gmail.com wrote: The falcon compiler
Re: [FALCON] don't warn on assignment in while (condition) body
The way warnings may be grouped is for example: syntactical, related to project structure, related to security, related to code safety (as opposed to security - a suspicious cast, an object used in a strange way etc.), related to code sloppiness - unused variables, function arguments, ureacheable code), deprecation warnings. The grouping of problems in Falcon is done via subclassing. AbstractSemanticProblem and its subclasses are an example of that. -Darrell On Thu, Jan 1, 2015 at 5:43 AM, Left Right olegsivo...@gmail.com wrote: Well, if you ask me how'd I like this to be, then, probably, I'd like this to have hierarchical structure (maybe I'm biased by how C compilers go about it). In other words, I'd like warnings to be grouped (not necessary by severity). Whether to warn on assignment inside condition is a matter of style, while warnings on duplicated source file most likely hint at an error. The way warnings may be grouped is for example: syntactical, related to project structure, related to security, related to code safety (as opposed to security - a suspicious cast, an object used in a strange way etc.), related to code sloppiness - unused variables, function arguments, ureacheable code), deprecation warnings. Then there could be some groups, which contain sets of warnings from different categories (such as pedantic, all, dangerous). Re' me being a committer - nope, not yet at least. I'm trying to convince my manager to let me migrate my project to use Falcon. Provided I'll succeed, I'll get time to work on the Falcon sources during my office hours and I'll be able to contribute more than just emails :) But this is far from being certain as of now. Which brings me to a completely unrelated question: if I wanted to convince someone to try Falcon, what would be the good argument to do so? Best, Oleg I would also like there to be a more easily recognizable names than 1234 and 5678 :) On Wed, Dec 31, 2014 at 10:29 PM, Gordon Smith gsmit...@hotmail.com wrote: Could this be improved to have a better interface? Darrell, don't -error-problems, -warning-problems, and -ignore-problems allow the problems to be specified either by fully-qualified class name or by numeric problem code? And isn't the numeric problem code displayed along with the problem message? Left Right, are you already a committer? If not, do you want to be one so that you can make improvements? If an option like -ignore-problems=1234,5678 works, do you think that's intuitive enough? I get 1388 hits for org.apache.flex.compiler.problems That's because there are 1388 or so classes representing compiler problems. No one would think of this as being an easy way to find an offending warning The way to search the source for the class representing a particular problem is to search for part of the English message. But you have to be careful not to search for something that is getting dynamically substituted for a placeholder in the string. I don't think most people would even go as far as looking into the source code for ways to void a warning message. Numeric problem codes seem like the way to go, if we don't already support them. - Gordon Date: Wed, 31 Dec 2014 11:56:45 +0200 Subject: Re: [FALCON] don't warn on assignment in while (condition) body From: olegsivo...@gmail.com To: dev@flex.apache.org Could this be improved to have a better interface?.. Grepping through the code I get 1388 hits for org.apache.flex.compiler.problems in Java files alone. No one would think of this as being an easy way to find an offending warning... But I don't think most people would even go as far as looking into the source code for ways to void a warning message. For those interested in this particular warning, I assume it's this one: org.apache.flex.compiler.problems.AssignmentInConditionalProblem Besides, there doesn't seem to be a way to specify this in the mxmlc Ant task... On Wed, Dec 31, 2014 at 4:28 AM, Darrell Loverin darrell.love...@gmail.com wrote: The falcon compiler and the (old) mxmlc compiler handle errors and warnings differently. In the mxmlc compiler a message is always an error/warning/info message at creation. In falcon, messages have a default severity but can be treated as an error, warning, or ignored. The configuration options to put a message into a severity category are -error-problems, -warning-problmes, and -ignore-problems. So to suppress a warning use -ignore-problems, passing the fully-qualified problem class to ignore. For example: mxmlc -ignore-problems org.apache.flex.compiler.problems.ANELibraryNotAllowedProblem will ignore all reported problems with class ANELibraryNotAllowedProblem. The compiler will still report the problem it will just won't be displayed. For more info see the ProblemSettingsFilter class. This class handles the filtering
Re: [FALCON] don't warn on assignment in while (condition) body
Darrell, don't -error-problems, -warning-problems, and -ignore-problems allow the problems to be specified either by fully-qualified class name or by numeric problem code? And isn't the numeric problem code displayed along with the problem message? The numeric problem code is not accepted in the configuration options. I believe the error codes where added after I added the configuration options. I far as I can tell error codes are not reported. Reporting error codes is, of course, key to using them in the configuration options. Left Right, are you already a committer? If not, do you want to be one so that you can make improvements? If an option like -ignore-problems=1234,5678 works, do you think that's intuitive enough? IMO this would be intuitive and not difficult to implement. -Darrell On Wed, Dec 31, 2014 at 3:29 PM, Gordon Smith gsmit...@hotmail.com wrote: Could this be improved to have a better interface? Darrell, don't -error-problems, -warning-problems, and -ignore-problems allow the problems to be specified either by fully-qualified class name or by numeric problem code? And isn't the numeric problem code displayed along with the problem message? Left Right, are you already a committer? If not, do you want to be one so that you can make improvements? If an option like -ignore-problems=1234,5678 works, do you think that's intuitive enough? I get 1388 hits for org.apache.flex.compiler.problems That's because there are 1388 or so classes representing compiler problems. No one would think of this as being an easy way to find an offending warning The way to search the source for the class representing a particular problem is to search for part of the English message. But you have to be careful not to search for something that is getting dynamically substituted for a placeholder in the string. I don't think most people would even go as far as looking into the source code for ways to void a warning message. Numeric problem codes seem like the way to go, if we don't already support them. - Gordon Date: Wed, 31 Dec 2014 11:56:45 +0200 Subject: Re: [FALCON] don't warn on assignment in while (condition) body From: olegsivo...@gmail.com To: dev@flex.apache.org Could this be improved to have a better interface?.. Grepping through the code I get 1388 hits for org.apache.flex.compiler.problems in Java files alone. No one would think of this as being an easy way to find an offending warning... But I don't think most people would even go as far as looking into the source code for ways to void a warning message. For those interested in this particular warning, I assume it's this one: org.apache.flex.compiler.problems.AssignmentInConditionalProblem Besides, there doesn't seem to be a way to specify this in the mxmlc Ant task... On Wed, Dec 31, 2014 at 4:28 AM, Darrell Loverin darrell.love...@gmail.com wrote: The falcon compiler and the (old) mxmlc compiler handle errors and warnings differently. In the mxmlc compiler a message is always an error/warning/info message at creation. In falcon, messages have a default severity but can be treated as an error, warning, or ignored. The configuration options to put a message into a severity category are -error-problems, -warning-problmes, and -ignore-problems. So to suppress a warning use -ignore-problems, passing the fully-qualified problem class to ignore. For example: mxmlc -ignore-problems org.apache.flex.compiler.problems.ANELibraryNotAllowedProblem will ignore all reported problems with class ANELibraryNotAllowedProblem. The compiler will still report the problem it will just won't be displayed. For more info see the ProblemSettingsFilter class. This class handles the filtering and implements mxmlc options that ignore warnings. -Darrell On Tue, Dec 30, 2014 at 11:41 AM, Alex Harui aha...@adobe.com wrote: I don’t know for sure. Maybe Gordon or Darrell know if warning suppression is supposed to work in Falcon. On 12/30/14, 1:35 AM, Left Right olegsivo...@gmail.com wrote: I looked into mxmlc -help warnings but I don't see an option to void the warning issued on assignment inside while (and maybe other such places). Is there one, or it simply isn't implemented yet? Thanks!
Re: [FALCON] internal error related to identifier resolution (?)
Agreed I see it now. Sorry for the bad info. -Darrell On Wednesday, December 31, 2014, Alex Harui aha...@adobe.com wrote: Yeah, I had to read it twice, but I believe result is supposed to be assigned to an Object with a property called “get” that points to a function. The {} after result is an Object literal. On 12/30/14, 8:03 PM, Greg Dove greg.d...@gmail.com javascript:; wrote: Darrell, isn't that get simply a field/property with a function value? If the issue is with the get keyword as a property name, then the OP could try using json-style field naming, with quotes: result = { get: function():Object { return JSON.parse(request.toString()); } }; If the above works unimpeded then the issue is with the new compiler not handling the keyword 'get' as a property name correctly (which it may now no longer allow as I understand it is more strict in some cases). On Wed, Dec 31, 2014 at 4:31 PM, Darrell Loverin darrell.love...@gmail.com javascript:; wrote: { // result = // { // get: function():Object // { // return JSON.parse(request.toString()); // } // }; To further isolate the problem I would try removing the get: label from the anonymous function to see it that compiles. I'm assuming this code works in the old compiler. -Darrell On Tue, Dec 30, 2014 at 11:40 AM, Alex Harui aha...@adobe.com javascript:; wrote: Hi, thanks for finding that. I forgot to ask you to use [FALCON] in the subject of these discussions (I changed the subject). Things like errors in the ABC subsystem might require advice from Gordon or Darrell. Thanks, -Alex On 12/30/14, 2:02 AM, Left Right olegsivo...@gmail.com javascript:; wrote: I was able to find the error: private function loadDescriptionBytes(request:ByteArray, success:Function, failure:Function):void { var result:Object; try { try { result = request.readObject(); if (!this.tryCreateDescription(result, success, failure)) { request.position = 0; throw new Error(); } } catch (error:Error) { // result = // { // get: function():Object // { // return JSON.parse(request.toString()); // } // }; if (!this.tryCreateDescription(result, success, failure)) { request.position = 0; throw new Error(); } } } catch (error:Error) { var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener( Event.COMPLETE, this.loaderCompleteHandler); this._success = success; this._failure = failure; loader.loadBytes(request, new LoaderContext(false, ApplicationDomain.currentDomain)); } } With the above commented, the compilation succeeds. On Tue, Dec 30, 2014 at 11:23 AM, Left Right olegsivo...@gmail.com javascript:; wrote: [mxmlc] /home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as [mxmlc] Error: Internal error in ABC generator subsystem, when generating code for: /home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as: java.lang.IllegalArgumentException: Label org.apache.flex.abc.semantics.Label@2bd23245 = 0 was referenced, but never defined. [mxmlc] at org.apache.flex.abc.semantics.MethodBodyInfo.getBlock(MethodBodyInfo.ja va :312) [mxmlc] at org.apache.flex.abc.semantics.MethodBodyInfo.getBlock(MethodBodyInfo.ja va :293) [mxmlc] at org.apache.flex.abc.ABCEmitter.emitExceptionInfo(ABCEmitter.java:974) [mxmlc] at org.apache.flex.abc.ABCEmitter.emitCode(ABCEmitter.java:805) [mxmlc] at org.apache.flex.abc.ABCEmitter.access$1100(ABCEmitter.java:144) [mxmlc] at org.apache.flex.abc.ABCEmitter$EmitterMethodInfoVisitor.visitEnd(ABCEmi tt er.java:1937) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generateMetho dB odyForFunction(ABCGenerator.java:349) [mxmlc
Re: [FALCON] internal error related to identifier resolution (?)
{ // result = // { // get: function():Object // { // return JSON.parse(request.toString()); // } // }; To further isolate the problem I would try removing the get: label from the anonymous function to see it that compiles. I'm assuming this code works in the old compiler. -Darrell On Tue, Dec 30, 2014 at 11:40 AM, Alex Harui aha...@adobe.com wrote: Hi, thanks for finding that. I forgot to ask you to use [FALCON] in the subject of these discussions (I changed the subject). Things like errors in the ABC subsystem might require advice from Gordon or Darrell. Thanks, -Alex On 12/30/14, 2:02 AM, Left Right olegsivo...@gmail.com wrote: I was able to find the error: private function loadDescriptionBytes(request:ByteArray, success:Function, failure:Function):void { var result:Object; try { try { result = request.readObject(); if (!this.tryCreateDescription(result, success, failure)) { request.position = 0; throw new Error(); } } catch (error:Error) { // result = // { // get: function():Object // { // return JSON.parse(request.toString()); // } // }; if (!this.tryCreateDescription(result, success, failure)) { request.position = 0; throw new Error(); } } } catch (error:Error) { var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener( Event.COMPLETE, this.loaderCompleteHandler); this._success = success; this._failure = failure; loader.loadBytes(request, new LoaderContext(false, ApplicationDomain.currentDomain)); } } With the above commented, the compilation succeeds. On Tue, Dec 30, 2014 at 11:23 AM, Left Right olegsivo...@gmail.com wrote: [mxmlc] /home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as [mxmlc] Error: Internal error in ABC generator subsystem, when generating code for: /home/wvxvw/workspace/hx-player/player/as3/com/powtoon/ui/Stylable.as: java.lang.IllegalArgumentException: Label org.apache.flex.abc.semantics.Label@2bd23245 = 0 was referenced, but never defined. [mxmlc] at org.apache.flex.abc.semantics.MethodBodyInfo.getBlock(MethodBodyInfo.java :312) [mxmlc] at org.apache.flex.abc.semantics.MethodBodyInfo.getBlock(MethodBodyInfo.java :293) [mxmlc] at org.apache.flex.abc.ABCEmitter.emitExceptionInfo(ABCEmitter.java:974) [mxmlc] at org.apache.flex.abc.ABCEmitter.emitCode(ABCEmitter.java:805) [mxmlc] at org.apache.flex.abc.ABCEmitter.access$1100(ABCEmitter.java:144) [mxmlc] at org.apache.flex.abc.ABCEmitter$EmitterMethodInfoVisitor.visitEnd(ABCEmitt er.java:1937) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generateMethodB odyForFunction(ABCGenerator.java:349) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generateFunctio n(ABCGenerator.java:262) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.ClassDirectiveProcessor.decl areFunction(ClassDirectiveProcessor.java:782) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNo de(DirectiveProcessor.java:214) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse( DirectiveProcessor.java:188) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.dec lareClass(GlobalDirectiveProcessor.java:423) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNo de(DirectiveProcessor.java:206) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse( DirectiveProcessor.java:188) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.dec larePackage(GlobalDirectiveProcessor.java:449) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNo de(DirectiveProcessor.java:223) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse( DirectiveProcessor.java:188) [mxmlc] at org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generate(ABCGen
Re: Porting To Typescript/Javascript
used to convert from MXML to Actionscript and then to ABC. Does anyone know anything about this and if so, can they point me to it? Thanks and all the best. For a prime example of generating AS code look in the PreLink class in the MXML compiler (in the sdk repo). Look at methods that start with codegen. There are also velocity templates in the flex2.compiler.mxml.gen package. -Darrell On Wed, Dec 3, 2014 at 10:53 PM, Jesse Nicholson ascensionsyst...@gmail.com wrote: I commented earlier about porting the flash runtime + flex to typescript/javascript and was asked to send an email to this list with more info plus my progress. In terms of progress, I'd say that I have somewhere north of 250K lines of doc comments and code done, with a lot to fill in. The entire Flash + AIR API exists with all constants, properties methods classes etc defined (methods stubbed out) with the implementation details left to be filled in (for methods). The largest bit of work to do (by far) is Flex, which I've come up with really lazy solution to solve. I've started writing a source to source compiler based on Falcon, that consumes and tokenizes the AS input and emits X target (for me right now, it's C#, since my initial implementation is C# which then cross-compiles to Typescript using NetJS. Ultimate goal for me is to have a platform where users can code in either JS/TypeScript/C#, whatever they choose, and seamlessly move between targets (Native with Mono, Native with something like Cordova, or Browser only). Anyway that's what I'm doing and if anyone is interested in the end result, let me know. Right now I have a question. While pouring over falcons source, I noticed comments where MXML now gets compiled directly to bytecode. The comment goes on to imply that once upon a time, the compiler used to convert from MXML to Actionscript and then to ABC. Does anyone know anything about this and if so, can they point me to it? Thanks and all the best. -- Jesse Nicholson
Re: Determining which MXML elements are containers
Setting the itemRenderer goes thru the same error checking as any other assignment statement so that why there is no special case error checking code for IFactory. There is special handling for IFactory. For the inline MXML assignment to itemRenderer the compiler generates a new ClassFactory() and assigns that to itemRenderer. It is easier to understand if you look at the generated AS code by adding -keep to the command. Below are some methods that might help you understand what is happening: *See references to StandardDefs.isIFactory(). *See the TypeCompatibility.check() method in the MXML compiler. Hope that helps, -Darrell -Darrell On Fri, Dec 5, 2014 at 9:29 AM, Darrell Loverin darrell.love...@gmail.com wrote: I'll have some time this weekend to look at this a bit. -Darrell On Thu, Dec 4, 2014 at 3:29 AM, Héctor A neverbi...@gmail.com wrote: Hello again Darrell, and sorry for bothering one more time, I've been browsing the MXMLC source looking for IFactory info, but I couldn't find what I need. How do I determine the type of class/interface expected by an IFactory? is it posible or must I add it case by case? I've seen that when the type value is defined as a child tag it allows for other IFactory types as expected: s:List s:itemRenderer custom:CustomFactory/ /s:itemRenderer /s:List However, when defining it as an attribute it allows for clases implementing IItemRenderer as well: s:List itemRenderer=CustomRenderer/ Is it possible to get the correct type dynamically? I haven't find anything on either the SDK or compiler source, so it may not be possible and implemented in the IDE itself. Best regards, On Tue, Nov 25, 2014 at 3:47 AM, Darrell Loverin darrell.love...@gmail.com wrote: Right now none because the property is private, and if it wasn't, just subclasses. That sounds right to me. -Darrell On Sun, Nov 23, 2014 at 8:34 PM, Héctor A neverbi...@gmail.com wrote: property of type NavigationStack, marked with [ExcludeClass], what does that mean? [ExcludeClass] prevents FlashBuilder from hinting the class and excludes it from ASDoc. I know, I guess I made myself not too clear. I meant with regards to children nodes auto-completion, subclasses may not be excluded, but again, the default property is marked private, and at least in fd case the property info is not always available. So, which class types could appear in that case? None? NavigationStack subclasses? Right now none because the property is private, and if it wasn't, just subclasses.
Re: Determining which MXML elements are containers
I'll have some time this weekend to look at this a bit. -Darrell On Thu, Dec 4, 2014 at 3:29 AM, Héctor A neverbi...@gmail.com wrote: Hello again Darrell, and sorry for bothering one more time, I've been browsing the MXMLC source looking for IFactory info, but I couldn't find what I need. How do I determine the type of class/interface expected by an IFactory? is it posible or must I add it case by case? I've seen that when the type value is defined as a child tag it allows for other IFactory types as expected: s:List s:itemRenderer custom:CustomFactory/ /s:itemRenderer /s:List However, when defining it as an attribute it allows for clases implementing IItemRenderer as well: s:List itemRenderer=CustomRenderer/ Is it possible to get the correct type dynamically? I haven't find anything on either the SDK or compiler source, so it may not be possible and implemented in the IDE itself. Best regards, On Tue, Nov 25, 2014 at 3:47 AM, Darrell Loverin darrell.love...@gmail.com wrote: Right now none because the property is private, and if it wasn't, just subclasses. That sounds right to me. -Darrell On Sun, Nov 23, 2014 at 8:34 PM, Héctor A neverbi...@gmail.com wrote: property of type NavigationStack, marked with [ExcludeClass], what does that mean? [ExcludeClass] prevents FlashBuilder from hinting the class and excludes it from ASDoc. I know, I guess I made myself not too clear. I meant with regards to children nodes auto-completion, subclasses may not be excluded, but again, the default property is marked private, and at least in fd case the property info is not always available. So, which class types could appear in that case? None? NavigationStack subclasses? Right now none because the property is private, and if it wasn't, just subclasses.
CodeCoverage Utility Issue
Hi Alex, I’m hoping you can help me with an issue I’m seeing with the CodeCoverage utility you donated. I’m running a mustella test with the coverage server running. What I’m seeing is the LocalConnection send() method seems to stop working part way thru the test. On the CodeCoveragePreloadSWF side I’ve added trace debug on the Trace.METHODS_AND_LINES callback just before the lc.send() calls. This debug shows the Trace callback is getting called for all the lines of the mustella test. On the CodeCoverageServer side of the LocalConnection I’ve add trace debug to show all the calls from the CodeCoveragePreloadSWF. The trace debug looks good at first but stops early on before frame1 ends. On the preloadSWF side of the connection I have listeners for the following errors but am not seeing any errors reported: lc.addEventListener(StatusEvent.STATUS, onStatus); lc.addEventListener(AsyncErrorEvent.ASYNC_ERROR, lc_asyncErrorEventHandler); lc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, lc_securityErrorEventHandler); It seems as if the connection is being closed but I don’t know what might be causing this. If I run another application without shutting down the CodeCoverageServer, no events will be sent. Any ideas on what might be happening? Thanks, -Darrell
Re: Determining which MXML elements are containers
Right now none because the property is private, and if it wasn't, just subclasses. That sounds right to me. -Darrell On Sun, Nov 23, 2014 at 8:34 PM, Héctor A neverbi...@gmail.com wrote: property of type NavigationStack, marked with [ExcludeClass], what does that mean? [ExcludeClass] prevents FlashBuilder from hinting the class and excludes it from ASDoc. I know, I guess I made myself not too clear. I meant with regards to children nodes auto-completion, subclasses may not be excluded, but again, the default property is marked private, and at least in fd case the property info is not always available. So, which class types could appear in that case? None? NavigationStack subclasses? Right now none because the property is private, and if it wasn't, just subclasses.
Re: Determining which MXML elements are containers
I not sure how complete the MXML support in the falcon compiler so I checked the old mxmlc compiler. The old mxmlc validates with specialized if/else statements based on parent and child types for elements that do not provide [DefaultProperty]. For example, here is a code snippet from ComponentBuilder.ComponentChildNodeHandler.nestedDeclaration(): // Halo navigators (Accordion, TagNavigator, and // ViewStack) only support container based children. if (checkHaloNavigatorRequirements standardDefs.isHaloNavigator(parentType) !standardDefs.isNavigatorContent(childType) !(child instanceof ReparentNode)) { log(child, new HaloNavigatorsRequireHaloContainerChildren()); } See the whole method for all the checks. Also see the checks in DocumentChildNodeHandler.nestedDeclarations() as well. Hope this helps, -Darrell On Fri, Nov 21, 2014 at 11:51 AM, Héctor A neverbi...@gmail.com wrote: Thank you very much for the reply Darrell, your help would be highly appreciated. I have some doubts, and I guess some more will be popping up, but if I can avoid having to find out about them the less time it will take to have a better IDE. I've seen ViewNavigatorApplication and ViewNavigator has [DefaultProperty(navigationStack)] , which is a private property of type NavigationStack, marked with [ExcludeClass], what does that mean? right now it renders DefaultProperty to be null, which I suppose is the right thing to do. How are the possible fx: types for a node determined? is there a set of rules determined? after a root node, a fx:Declaration element, a component declaration, an ItemRenderer... is it hacked around? I guess so, but I'll have to think about how to handle those special cases properly. I haven't looked into Flex 3 in depth yet. On Fri, Nov 21, 2014 at 2:31 PM, Darrell Loverin darrell.love...@gmail.com wrote: Sorry I missed this thread. Using [DefaultProperty] and [ArrayElementType] sounds right for Spark components but I don't see [DefaultProperty] declared in mx containers and I don't remember how mx containers were validated. I'll investigate to see how it works this weekend. -Darrell On Thu, Nov 20, 2014 at 4:38 PM, Héctor A neverbi...@gmail.com wrote: Cc-ing Gordon and Darrell here, in case they missed this thread. Thanks, that would be the better source of information and the best way to make sure I implement everything as it should. I didn't mention it, but of course I added support for ArrayElementType and InstanceType metas as well, although I didn't test any case where it is used inside a SWC yet, so it may fail in that case. I'll need to come up with every example and test case possible,
Re: Determining which MXML elements are containers
Sorry I missed this thread. Using [DefaultProperty] and [ArrayElementType] sounds right for Spark components but I don't see [DefaultProperty] declared in mx containers and I don't remember how mx containers were validated. I'll investigate to see how it works this weekend. -Darrell On Thu, Nov 20, 2014 at 4:38 PM, Héctor A neverbi...@gmail.com wrote: Cc-ing Gordon and Darrell here, in case they missed this thread. Thanks, that would be the better source of information and the best way to make sure I implement everything as it should. I didn't mention it, but of course I added support for ArrayElementType and InstanceType metas as well, although I didn't test any case where it is used inside a SWC yet, so it may fail in that case. I'll need to come up with every example and test case possible,
Re: [FALCON] Procedure of writing SWFs (removing code for handling signed swfs)
The compiler should always be writing out a digest for the library.swf in a SWC. The digests are used for unsigned RSLs as well as signed RSLs. The digest is not only important for validating an RSL loaded from a foreign domain but it is also used at runtime to prevent loading the same RSL multiple times. -Darrell On Fri, Oct 31, 2014 at 1:16 PM, marcio fermino prologicasiste...@gmail.com wrote: Em sexta-feira, 31 de outubro de 2014, marcio fermino prologicasiste...@gmail.com escreveu: UhxSxtgczxyzzxx Em sexta-feira, 31 de outubro de 2014, Christofer Dutz christofer.d...@c-ware.de javascript:_e(%7B%7D,'cvml','christofer.d...@c-ware.de'); escreveu: I wasn't planning on ripping out anything at the moment ... I just stumbled over it and wanted to discuss it this this code is even accessible. The code I'm talking about deals with the writing of the catalog.xml ... here falcon checks each digest it finds if it's signed and processes the output differently if it finds signed content. I Just thought can this still happen?. Chris Von: Alex Harui aha...@adobe.com Gesendet: Freitag, 31. Oktober 2014 15:41 An: dev@flex.apache.org Betreff: Re: AW: [FALCON] Procedure of writing SWFs (removing code for handling signed swfs) Before you rip it out, let’s see if Darrell or Gordon can answer. I thought there were still digests for unsigned RSLs and the signing that the cache depends on was a separate non-compiler thing -Alex On 10/31/14, 7:36 AM, Christofer Dutz christofer.d...@c-ware.de wrote: Well I stumbled over code that looks to me as if it must be dead code. I think the only libraries with signed digests must be those swz files distributed by Adobe (Hope I'm correct with that assumption). Was just thinking that in this case it would be a good idea to remove code that cant be used anyway and which makes the compiler more complicated than it has to be. Chris Von: Kessler CTR Mark J mark.kessler@usmc.mil Gesendet: Freitag, 31. Oktober 2014 11:02 An: dev@flex.apache.org Betreff: RE: [FALCON] Procedure of writing SWFs (removing code for handling signed swfs) Now my question: As we don't have signed RSLs and never will again ... how about removing code related with this from Falcon? Does that mean keeping RSLs and removing the calculated digest comparison from Falcon? Since we don't have Adobe signed RSLs anymore (meaning stored in the flash asset cache vs the browser cache) then I think it would be fine. -Mark -Original Message- From: Christofer Dutz [mailto:christofer.d...@c-ware.de] Sent: Friday, October 31, 2014 5:35 AM To: dev@flex.apache.org Subject: [FALCON] Procedure of writing SWFs (removing code for handling signed swfs) Hi, So I read the code and now it's a little clearer why the SWC part references a lot of the SWF stuff. A SWC is nothing more than a Zip file containing the library content in form of an SWF as well as the static resources (CSS Files, Assets etc.). While writing the output for the SWF a digest is created (unless the library is signed, which shouldn't be possible at all as we don't have signed libraries anymore). As last step the catalog.xml is created, which is sort of an index of the content of the SWF (probably so the compiler knows where to get type definitions from when compiling). This catalog also contains the digest for the SWF so the compiler can quit with an error, if the saved digest doesn't match the calculated digest of the SWF and therefore the index values can't match the real positions int the file. Now my question: As we don't have signed RSLs and never will again ... how about removing code related with this from Falcon? Chris
Re: Some Falcon problems with multiple source-paths.
The compiler should support multiple source paths. Each -source-path option defines another source path. The compiler error messages seems to say it searched two source paths for the asset. I think you want to add your resource path to the source path. -Darrell On Sun, Oct 12, 2014 at 1:24 PM, Christofer Dutz christofer.d...@c-ware.de wrote: Hi, As I posted two days ago, I have succeeded in getting Flexmojos to work with Falcon. Now while I'm still trying to get the Flexmojos Testsuite running again, I started some first tests with Flexmojos and Falcon where I simply let Falcon compile some of my applications that build fine with the old compiler and I just ran into a problem which I could need some input. In Maven you can have several sources (main-sources, main-resources, test-sources, test-resources for example). Now I have a project in which I have the Flex sourcecode in src/main/flex and the resources in src/main/resources - which is the default Maven pattern for separating sources and resources. Now when embedding an image, I am getting the following errors: Error: Could not find Embed source '/assets/images/checkboxmiddle.png'. Searched 'C:\Projects\3rdParty\Flexicious\flexicious-components\classic-data-grid\src\main\flex\com\flexicious\controls\assets\images\checkboxmiddle.png', 'assets/images/checkboxmiddle.png' on the source path Which is true, as the resources are not located in the source path but in the resource path. 'C:\Projects\3rdParty\Flexicious\flexicious-components\classic-data-grid\src\main\resources\assets\images\checkboxmiddle.png' would have worked. Having a look at the code to me it seems af if Falcon wouldn't support multiple source roots ... is that correct? Chris
Re: Using mustella to test existing applications
I recommitted the mustella changes to allow the test directory to be located outside of the mustella source: Branch: refs/heads/develop Commit: 1f8c801d33406b7f1f6119fe93788f0c30fd5c73 Committed: Mon Aug 18 21:46:03 2014 -0400 On Wed, Aug 13, 2014 at 1:17 AM, Alex Harui aha...@adobe.com wrote: It passed on my Windows box. If it fails again, download the bad.png and email it to me off-list. -Alex On 8/12/14 1:22 AM, Tom Chiverton t...@extravision.com wrote: Well, it certainty seems to have hung again today. Before that AdvancedCSS_descendantSelectors_RuntimeCSS had a bad bitmap, but the two files look the same to me : http://flex-mustella.cloudapp.net/job/flex-sdk_mustella/ws/mustella/tests/ Managers/StyleManager/AdvancedCSS/descendantSelectors/baselines/descendant Selector_basic_noMatch_style_runtimecss.png http://flex-mustella.cloudapp.net/job/flex-sdk_mustella/ws/mustella/tests/ Managers/StyleManager/AdvancedCSS/descendantSelectors/baselines/descendant selector_basic_nomatch_style_runtime...@win.png http://flex-mustella.cloudapp.net/job/flex-sdk_mustella/ws/mustella/tests/ Managers/StyleManager/AdvancedCSS/descendantSelectors/baselines/descendant selector_basic_nomatch_style_runtime...@win.png.bad.png I've not seen the '@win' on the end before. Should I copy the ...@win.png.bad.png over the top of ...@win.png or over ...runtimecss.png ? Tom On 11/08/14 22:01, Darrell Loverin wrote: I've been using mustella to test my own components. I modified mustella so the tests do not have to be created in the tests directory. I fixed the problem that caused me to revert the changes some time ago. I've been waiting for a clean run of mustella before I commit the changes again. I haven't seen a clean mustella run in a very long time. -Darrell On Mon, Aug 11, 2014 at 2:22 PM, Alex Harui aha...@adobe.com wrote: Yes, you can try using it if you want. Darrell was trying to make it easier to run tests outside of the mustella folder, but it broke something and he stopped trying. We use parts of Mustella to run tests as part of the checkintests so I know it can work, and FlexJS uses mustella as well. -Alex On 8/11/14 9:39 AM, Mihai Chira mihai.ch...@gmail.com wrote: There is a comment on the mustella overview page[1] that asks Is this just for testing the SDK, or can I also use it to test my own applications? I'd like to ask the same - or if it can be adapted to testing existing applications. Thanks, Mihai [1] https://cwiki.apache.org/confluence/display/FLEX/Mustella+Overview __ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com __
Re: Next Donation from Adobe
Thanks, I see it now. I forgot to checkout the develop branch. On Sat, Aug 2, 2014 at 2:36 AM, Alex Harui aha...@adobe.com wrote: On 8/1/14 10:39 AM, Darrell Loverin darrell.love...@gmail.com wrote: 9. The source code for a prototype of a code coverage utility that I wrote. Has this code been donated? Yes, it is the flex-utilities repo in the CodeCoverage folder. I've used this code to do a tracing profiler and started in on trying to use it for code coverage as well. It uses a preloader swf that sets up flash.trace.Trace and sends output to a server app that actually saves the data so the file I/o is in a separate process. For code coverage, you would swfdump a swf and pull out all of the debug line data, then run the app and grab the output from flash.trace.Trace and see how many of the debug lines you hit. For tracing profiler, the problem is that there is no clean end-of-function marker. I want to experiment with adding a dummy debug line (like -1) to the SWF at each return ABC code as the end-of-function marker, then you could grab the output data and determine what ran and when without having to annotate a SWF with more abc code. -Alex
Re: Next Donation from Adobe
9. The source code for a prototype of a code coverage utility that I wrote. Has this code been donated? -Darrell On Fri, Mar 28, 2014 at 11:42 AM, Alex Harui aha...@adobe.com wrote: Hi folks, Adobe legal and business folks have approved the donation of several Flex-related items to Apache. The donation paperwork is on its way to get VP signature (yes there could be some delay or reversal there, but I don't expect any), but I'm bringing this up now because we should start thinking about how to handle the contents of the donation. In the donation is: 1. Several Flex articles from the ADC web-site. 2. An updated version of the FDB debugger that contains support for ActionScript Workers 3. The FlexPMD source code 4. The Mobile Trader demo application 5. The specification for the MXML language 6. An XML merging utility source code from the Flex QA team. 7. The Squiggly spell-checker source code 8. The Tour De Flex application source code 9. The source code for a prototype of a code coverage utility that I wrote. Links to the original Adobe content is at the end of this email. When you go to the Adobe links you see a complete web article, but when donated, several things will be missing and several things will need adjusting before hosting the content at Apache. A) None of the videos in the VideoTraining article are being donated because the videos are heavily branded by Adobe watermarks. Adobe says our version of the article can link to the Adobe videos, but Apache does not want us to host Adobe videos on Apache servers. At some point in time, I will try to get these videos posted on YouTube so we don't have to worry about them being taken off of Adobe servers someday. Adobe Legal has ok'd posting the videos on YouTube, but I need to get some other approvals before doing it. We also need to get approval from Apache to link to the Adobe-hosted videos in the interim. We have approval to link to them when posted on YouTube. B) All of the devnet articles load Adobe CSS files. Our version of these articles should not look exactly like the Adobe colors so we need to create our own CSS file and adjust the articles to load those CSS files instead. I am not the right person to do this work, so a volunteer is needed. C) The Adobe icon and all head shots of authors are not being donated. The Apache version of these articles should not link to the head shots on the Adobe servers. D) The articles have sidebars and footers that point to lots of other Adobe content. Those sidebars and footers should be removed/replaced. E) Not all of the Tour De Flex content is being donated. Both TDF3 and TDF4 source code is in the donation, but articles written by non-Adobe authors are not in the donation. TDF will need to be adjusted to not reference the missing articles. The non-Adobe authors need to be contacted to donate their article to Apache. F) Other videos and images used in examples are missing from TDF and devnet articles if they were of real people or third-party brands. We will need to generate replacements, or adjust the articles to work without the missing videos and images. We will have to be careful as the articles may still point to the Adobe-hosted videos and images. G) Some articles point to zip files. In the donation, the zip files are expanded and the actual zip file is missing because we should be checking source and not zips into our repos. Build scripts will be needed to create zips that go with the production articles. And then we need to decide where to still all of this source. I guess flex-utilities for most of it. I would probably create a branch of flex-sdk for the FDB code. The XML Merge code will go in the BlazeDS repo with the rest of BlazeDS. Where should be put all of the devnet html files until they are ready? Thanks, -Alex Here are links to the ADC articles: http://www.adobe.com/devnet/flex/videotraining.html http://www.adobe.com/devnet/flex/testdrive.html http://www.adobe.com/devnet/flex/testdrivemobile.html http://www.adobe.com/devnet/flex/articles/mobile-development-flex-flashbuil der.html http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html http://www.adobe.com/devnet/flex/articles/employee-directory-android-flex.h tml http://www.adobe.com/devnet/flex/articles/mobile-skinning-part1.html http://www.adobe.com/devnet/flex/articles/flex-mobile-performance-checklist .html http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html http://www.adobe.com/devnet/flex/articles/spark_layouts.html http://www.adobe.com/devnet/flex/articles/flex-mobile-development-tips-tric ks-pt4.html http://www.adobe.com/devnet/flex/articles/flex4_skinning.html http://www.adobe.com/devnet/flex/articles/flex4_viewport_scrolling.html http://www.adobe.com/devnet/flex/articles/flex4_effects_pt1.html FlexPMD
Re: AW: AW: AW: AW: Is/Was there a requirement for the playerglobal.swc having to be named exactly this way?
The mxml compiler has a dependency on the name playerglobal.swc, See compiler/CompilerSwcContext.java, line 351. Source s = (loc.endsWith(StandardDefs.SWC_PLAYERGLOBAL) || loc.endsWith(StandardDefs.SWC_AIRGLOBAL) || loc.endsWith(StandardDefs.SWC_AVMPLUS)) ? The Falcon compiler does not have this same dependency. -Darrell On Tue, Jun 3, 2014 at 10:33 AM, Alex Harui aha...@adobe.com wrote: On 6/3/14 12:31 AM, Christofer Dutz christofer.d...@c-ware.de wrote: @Alex you remember us discussing a refactoring of the compiler and to split up the commandline-parsing and the actual compiling and providing an interface that I could initialize the configuration as an object and pass that in to the compiler? Is there any timeframe for this? Even if I guess I would implement support for this in the new plugin, it would be of great help now. I think it would be great to do this together with such a refactoring cause then I'd have something I could detect this requirement on ( if(compiler instanceof ConfigurableCompiler) { ... } else { do the rename hack } ) It turns out that something like this already exists. See the flex-compiler-oem projects for MXMLC and Falcon. -Alex
Re: Compiling examples in asja
Should GOOG_HOME be pointing to one of those directories? On Tue, May 27, 2014 at 12:32 AM, Alex Harui aha...@adobe.com wrote: In a FlexJS SDK, the google closure compiler.jar goes in js/lib/google/closure-compiler/compiler.jar Are you sure you got your environment variables set up correctly? Do 'jar -tf compiler.jar' to make sure it isn't corrupt and has ErrorManager in it. -Alex On 5/26/14 8:22 PM, Darrell Loverin darrell.love...@gmail.com wrote: Still can't compile the examples; ant examples [java] Exception in thread main java.lang.NoClassDefFoundError: com/google/javascript/jscomp/ErrorManager [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220) [java] at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182) [java] Caused by: java.lang.ClassNotFoundException: com.google.javascript.jscomp.ErrorManager [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366) [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356) [java] ... 4 more [java] Java Result: 1 Tried moving the google compiler.jar to various places so ErrorManager would be found but no luck. Any idea what is wrong with my configuration? On Sun, May 25, 2014 at 11:17 PM, Alex Harui aha...@adobe.com wrote: Yes, some versions of Ant fail to make the folder path for spark.css. It will be fixed in the next release. On 5/25/14 2:41 PM, Darrell Loverin darrell.love...@gmail.com wrote: I delete the binary package and ran ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip as you recommended. I entered 'y' to every download prompt. The script was not successful, it was missing spark.css: hack-fb-files: [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spa rk .css BUILD FAILED /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665: Could not create /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spa rk .css I copied Spark/spark.css from the asja/frameworks into the binary package. I re-ran the command, this time choosing not to download any packages. This time the script was able to complete: hack-fb-files: [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser setup-launch-configs: [echo] Installing Adobe Flash Builder launch configuration files install: [echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now an IDE compatible folder BUILD SUCCESSFUL On Fri, May 23, 2014 at 12:11 AM, Alex Harui aha...@adobe.com wrote: Start over, delete the folder and uncompress the binary package into a new folder. Then run: ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip -Alex On 5/22/14 9:00 PM, Darrell Loverin darrell.love...@gmail.com wrote: I removed the lib/google folder and the in/compiler-latest.zip from the falcon repo. I ran ant -Dclosure.download.filename=compiler-20140303.zip clean main from falcon and again from the asja repos. The lib/google folder was not refilled with a download as I expected. Neither was the 'in' folder. I've also tried using the flexJS download without success. I get the following error when I run 'ant -f installer.xml': swfobject-check: swfobject-download: [delete] Deleting: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/swfobject.properties [echo
Re: Compiling examples in asja
I figured out my problem. My FALCONJX_HOME was pointing to the repos source not the binary package. That was because I didn't know where to set it in the binary package. In the repos source, compiler.jar was in the compiler.jx/lib/google directory. I created a 'closure-compiler' directory and moved compiler.jar inside of that. I only knew to do that by opening jsc.jar and looking at the MANIFEST.MF. After that worked it I could see I should set FALCONJX_HOME to the js directory in the binary package. Telling folks how to set the environment variables in the binary package seems to be missing from the README. On Tue, May 27, 2014 at 11:02 AM, Alex Harui aha...@adobe.com wrote: GOOG_HOME is for closure library, not closure compiler. It should be the absolute path to the SDK's js/lib/google/closure-library On 5/27/14 7:45 AM, Darrell Loverin darrell.love...@gmail.com wrote: Should GOOG_HOME be pointing to one of those directories? On Tue, May 27, 2014 at 12:32 AM, Alex Harui aha...@adobe.com wrote: In a FlexJS SDK, the google closure compiler.jar goes in js/lib/google/closure-compiler/compiler.jar Are you sure you got your environment variables set up correctly? Do 'jar -tf compiler.jar' to make sure it isn't corrupt and has ErrorManager in it. -Alex On 5/26/14 8:22 PM, Darrell Loverin darrell.love...@gmail.com wrote: Still can't compile the examples; ant examples [java] Exception in thread main java.lang.NoClassDefFoundError: com/google/javascript/jscomp/ErrorManager [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220) [java] at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182) [java] Caused by: java.lang.ClassNotFoundException: com.google.javascript.jscomp.ErrorManager [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366) [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356) [java] ... 4 more [java] Java Result: 1 Tried moving the google compiler.jar to various places so ErrorManager would be found but no luck. Any idea what is wrong with my configuration? On Sun, May 25, 2014 at 11:17 PM, Alex Harui aha...@adobe.com wrote: Yes, some versions of Ant fail to make the folder path for spark.css. It will be fixed in the next release. On 5/25/14 2:41 PM, Darrell Loverin darrell.love...@gmail.com wrote: I delete the binary package and ran ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip as you recommended. I entered 'y' to every download prompt. The script was not successful, it was missing spark.css: hack-fb-files: [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/s pa rk .css BUILD FAILED /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665: Could not create /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/s pa rk .css I copied Spark/spark.css from the asja/frameworks into the binary package. I re-ran the command, this time choosing not to download any packages. This time the script was able to complete: hack-fb-files: [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser setup-launch-configs: [echo] Installing Adobe Flash Builder launch configuration files install: [echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now
Re: Compiling examples in asja
Still can't compile the examples; ant examples [java] Exception in thread main java.lang.NoClassDefFoundError: com/google/javascript/jscomp/ErrorManager [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220) [java] at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182) [java] Caused by: java.lang.ClassNotFoundException: com.google.javascript.jscomp.ErrorManager [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366) [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356) [java] ... 4 more [java] Java Result: 1 Tried moving the google compiler.jar to various places so ErrorManager would be found but no luck. Any idea what is wrong with my configuration? On Sun, May 25, 2014 at 11:17 PM, Alex Harui aha...@adobe.com wrote: Yes, some versions of Ant fail to make the folder path for spark.css. It will be fixed in the next release. On 5/25/14 2:41 PM, Darrell Loverin darrell.love...@gmail.com wrote: I delete the binary package and ran ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip as you recommended. I entered 'y' to every download prompt. The script was not successful, it was missing spark.css: hack-fb-files: [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spark .css BUILD FAILED /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665: Could not create /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spark .css I copied Spark/spark.css from the asja/frameworks into the binary package. I re-ran the command, this time choosing not to download any packages. This time the script was able to complete: hack-fb-files: [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser setup-launch-configs: [echo] Installing Adobe Flash Builder launch configuration files install: [echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now an IDE compatible folder BUILD SUCCESSFUL On Fri, May 23, 2014 at 12:11 AM, Alex Harui aha...@adobe.com wrote: Start over, delete the folder and uncompress the binary package into a new folder. Then run: ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip -Alex On 5/22/14 9:00 PM, Darrell Loverin darrell.love...@gmail.com wrote: I removed the lib/google folder and the in/compiler-latest.zip from the falcon repo. I ran ant -Dclosure.download.filename=compiler-20140303.zip clean main from falcon and again from the asja repos. The lib/google folder was not refilled with a download as I expected. Neither was the 'in' folder. I've also tried using the flexJS download without success. I get the following error when I run 'ant -f installer.xml': swfobject-check: swfobject-download: [delete] Deleting: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/swfobject.properties [echo] Downloading swfobject_2_2.zip from: http://swfobject.googlecode.com/files [get] Getting: http://swfobject.googlecode.com/files/swfobject_2_2.zip [get] To: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip [echo] Download complete [unzip] Expanding: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip into /Users/dloverin/apache-flex-flexjs-0.0.1-bin/templates get-third-party-files: fixup-config-files: [echo] Installing frameworks configuration files configured for use with an IDE hack-fb-files: BUILD FAILED /Users/dloverin
Re: Compiling examples in asja
I delete the binary package and ran ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip as you recommended. I entered 'y' to every download prompt. The script was not successful, it was missing spark.css: hack-fb-files: [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls [mkdir] Created dir: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spark.css BUILD FAILED /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665: Could not create /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spark.css I copied Spark/spark.css from the asja/frameworks into the binary package. I re-ran the command, this time choosing not to download any packages. This time the script was able to complete: hack-fb-files: [copy] Copying 1 file to /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser [touch] Creating /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser setup-launch-configs: [echo] Installing Adobe Flash Builder launch configuration files install: [echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now an IDE compatible folder BUILD SUCCESSFUL On Fri, May 23, 2014 at 12:11 AM, Alex Harui aha...@adobe.com wrote: Start over, delete the folder and uncompress the binary package into a new folder. Then run: ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip -Alex On 5/22/14 9:00 PM, Darrell Loverin darrell.love...@gmail.com wrote: I removed the lib/google folder and the in/compiler-latest.zip from the falcon repo. I ran ant -Dclosure.download.filename=compiler-20140303.zip clean main from falcon and again from the asja repos. The lib/google folder was not refilled with a download as I expected. Neither was the 'in' folder. I've also tried using the flexJS download without success. I get the following error when I run 'ant -f installer.xml': swfobject-check: swfobject-download: [delete] Deleting: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/swfobject.properties [echo] Downloading swfobject_2_2.zip from: http://swfobject.googlecode.com/files [get] Getting: http://swfobject.googlecode.com/files/swfobject_2_2.zip [get] To: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip [echo] Download complete [unzip] Expanding: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip into /Users/dloverin/apache-flex-flexjs-0.0.1-bin/templates get-third-party-files: fixup-config-files: [echo] Installing frameworks configuration files configured for use with an IDE hack-fb-files: BUILD FAILED /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:664: Warning: Could not find file /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/as/libs/MXMLCClass es.swc to copy. On Tue, May 20, 2014 at 11:53 PM, Alex Harui aha...@adobe.com wrote: It looks like the latest Closure Compiler reports this as an error in Google Closure Library. Try using an older version of the Google Closure Compiler. If you are working from the repos, remove the lib/google folder and the compiler-latest.zip from the in folder and run the build with -Dclosure.download.filename=compiler-20140303.zip -Alex On 5/20/14 7:47 PM, Darrell Loverin darrell.love...@gmail.com wrote: I'm getting errors when compiling the examples in asja. First I ran 'ant' in the main directory and it built without any noticeable errors: compile: [echo] running gjslint [exec] 149 files checked, no errors found. [echo] running jshint Next I ran 'ant examples' to build the examples. A common error in the examples is: ApacheFlex/asja/examples/CordovaCameraExample/bin/js-debug/library/closu re /goog/base.js:1503: ERROR - arguments.callee cannot be used in ES5 strict mode [java] var caller = arguments.callee.caller; Any idea what I might be going wrong? Thanks, -Darrell
Re: Compiling examples in asja
I removed the lib/google folder and the in/compiler-latest.zip from the falcon repo. I ran ant -Dclosure.download.filename=compiler-20140303.zip clean main from falcon and again from the asja repos. The lib/google folder was not refilled with a download as I expected. Neither was the 'in' folder. I've also tried using the flexJS download without success. I get the following error when I run 'ant -f installer.xml': swfobject-check: swfobject-download: [delete] Deleting: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/swfobject.properties [echo] Downloading swfobject_2_2.zip from: http://swfobject.googlecode.com/files [get] Getting: http://swfobject.googlecode.com/files/swfobject_2_2.zip [get] To: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip [echo] Download complete [unzip] Expanding: /Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip into /Users/dloverin/apache-flex-flexjs-0.0.1-bin/templates get-third-party-files: fixup-config-files: [echo] Installing frameworks configuration files configured for use with an IDE hack-fb-files: BUILD FAILED /Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:664: Warning: Could not find file /Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/as/libs/MXMLCClasses.swc to copy. On Tue, May 20, 2014 at 11:53 PM, Alex Harui aha...@adobe.com wrote: It looks like the latest Closure Compiler reports this as an error in Google Closure Library. Try using an older version of the Google Closure Compiler. If you are working from the repos, remove the lib/google folder and the compiler-latest.zip from the in folder and run the build with -Dclosure.download.filename=compiler-20140303.zip -Alex On 5/20/14 7:47 PM, Darrell Loverin darrell.love...@gmail.com wrote: I'm getting errors when compiling the examples in asja. First I ran 'ant' in the main directory and it built without any noticeable errors: compile: [echo] running gjslint [exec] 149 files checked, no errors found. [echo] running jshint Next I ran 'ant examples' to build the examples. A common error in the examples is: ApacheFlex/asja/examples/CordovaCameraExample/bin/js-debug/library/closure /goog/base.js:1503: ERROR - arguments.callee cannot be used in ES5 strict mode [java] var caller = arguments.callee.caller; Any idea what I might be going wrong? Thanks, -Darrell
Re: flex-sdk_mustella - Build # 921 - Still Failing!
The mustella-test commit was causing the failures of the StyleManager and MarshallPlan tests. I have reverted the changes. Sorry for the inconvenience. -Darrell On Mon, May 19, 2014 at 10:34 PM, Darrell Loverin darrell.love...@gmail.com wrote: I looked into the failing ShaderFilter tests: [java] = [java] Failed: [java] = [java] gumbo/filters/ShaderFilter/Integration/ShaderFilter_integration integration_popup_test1 Failed CompareBitmap(body:step 1) compare returned[object BitmapData] [java] gumbo/filters/ShaderFilter/Integration/ShaderFilter_integration integration_popup_test2 Failed CompareBitmap(body:step 1) compare returned[object BitmapData] They seemed to be broken by one of these commits: commit 79073bf23d5eb98761f098f1941825236d287c7b Merge: 98867f4 5873549 Author: Justin Mclean jmcl...@apache.org Date: Sat May 17 08:09:35 2014 -0700 Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk i commit 98867f4df8c50ddf4c7f79cb3537cde385b0d28a Author: Justin Mclean jmcl...@apache.org Date: Sat May 17 08:04:06 2014 -0700 updated documentation commit e4bd86d0b068283c570bbdd2f4289bb67c30524f Author: Justin Mclean jmcl...@apache.org Date: Sat May 17 08:03:41 2014 -0700 FLEX-369 stop text flowing outside of Alert box -Darrell On Mon, May 19, 2014 at 7:50 PM, Justin Mclean jus...@classsoftware.comwrote: HI, Mike and I were looking at that test at 360|Flex. We have no idea how it ever passed, but it has been for a while. It looks (at first glance) like all of the indexes are out by one, but do the other tests in that file which I assume are currently passing. Thanks, Justin
Re: flex-sdk_mustella - Build # 921 - Still Failing!
The tests can probably be fixed but I didn't want to leave mustella in a bad state any longer. The problem is the MarshallPlan tests seem to get stuck in a loop of running the same test over and over without advancing to the next test. I can looking into fixing this but it may take a while. The current flex-sdk_mustella test run has been running for over a day, probably stuck due to this bug. Anyway to kill the run and start a new one? -Darrell On Tue, May 20, 2014 at 1:16 PM, Justin Mclean jus...@classsoftware.comwrote: Hi, The mustella-test commit was causing the failures of the StyleManager and MarshallPlan tests. I have reverted the changes. Sorry for the inconvenience. Any way we can fix the tests rather than revert the changes? They did seem useful. Thanks, Justin
Compiling examples in asja
I'm getting errors when compiling the examples in asja. First I ran 'ant' in the main directory and it built without any noticeable errors: compile: [echo] running gjslint [exec] 149 files checked, no errors found. [echo] running jshint Next I ran 'ant examples' to build the examples. A common error in the examples is: ApacheFlex/asja/examples/CordovaCameraExample/bin/js-debug/library/closure/goog/base.js:1503: ERROR - arguments.callee cannot be used in ES5 strict mode [java] var caller = arguments.callee.caller; Any idea what I might be going wrong? Thanks, -Darrell
Re: flex-sdk_mustella - Build # 921 - Still Failing!
I'm checking to see if the mustella change broke anything. -Darrell On Mon, May 19, 2014 at 1:56 PM, Justin Mclean jmcl...@apache.org wrote: Hi, I did notice that one of the recent changes () was to mustella itself - perhaps that has broken some tests? Running the failing manager tests here I notice it now has a broken image. Thanks, Justin
Re: flex-sdk_mustella - Build # 921 - Still Failing!
This test failed without the mustella changes: [java] gumbo/core/DataGroup/events/DataGroup_Events_itemIndex DataGroup_events_itemIndex_move Failed Timed out All the ComboBox tests passed for me as well. Without my changes I'm having problems running resources/ResourceManager and ShaderFilter tests. I'll look into more tonight. -Darrell On Mon, May 19, 2014 at 2:59 PM, Darrell Loverin darrell.love...@gmail.comwrote: I'm checking to see if the mustella change broke anything. -Darrell On Mon, May 19, 2014 at 1:56 PM, Justin Mclean jmcl...@apache.org wrote: Hi, I did notice that one of the recent changes () was to mustella itself - perhaps that has broken some tests? Running the failing manager tests here I notice it now has a broken image. Thanks, Justin
Re: flex-sdk_mustella - Build # 921 - Still Failing!
I looked into the failing ShaderFilter tests: [java] = [java] Failed: [java] = [java] gumbo/filters/ShaderFilter/Integration/ShaderFilter_integration integration_popup_test1 Failed CompareBitmap(body:step 1) compare returned[object BitmapData] [java] gumbo/filters/ShaderFilter/Integration/ShaderFilter_integration integration_popup_test2 Failed CompareBitmap(body:step 1) compare returned[object BitmapData] They seemed to be broken by one of these commits: commit 79073bf23d5eb98761f098f1941825236d287c7b Merge: 98867f4 5873549 Author: Justin Mclean jmcl...@apache.org Date: Sat May 17 08:09:35 2014 -0700 Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk i commit 98867f4df8c50ddf4c7f79cb3537cde385b0d28a Author: Justin Mclean jmcl...@apache.org Date: Sat May 17 08:04:06 2014 -0700 updated documentation commit e4bd86d0b068283c570bbdd2f4289bb67c30524f Author: Justin Mclean jmcl...@apache.org Date: Sat May 17 08:03:41 2014 -0700 FLEX-369 stop text flowing outside of Alert box -Darrell On Mon, May 19, 2014 at 7:50 PM, Justin Mclean jus...@classsoftware.comwrote: HI, Mike and I were looking at that test at 360|Flex. We have no idea how it ever passed, but it has been for a while. It looks (at first glance) like all of the indexes are out by one, but do the other tests in that file which I assume are currently passing. Thanks, Justin
Re: git commit: [flex-falcon] [refs/heads/develop] - guarantee that target-player gets processed before library-path otherwise wrong player gets checked
You can create a soft dependency from one configuration variable to another and get the same effect as this code. I don't have the code in front of me right now but there should be some examples in the Configuration classes of the old MXML compiler. In this case library-path would have a soft dependency on target-player. -Darrell On Wed, Jan 22, 2014 at 11:44 AM, aha...@apache.org wrote: Updated Branches: refs/heads/develop 8966eda94 - b5a06269f guarantee that target-player gets processed before library-path otherwise wrong player gets checked Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b5a06269 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b5a06269 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b5a06269 Branch: refs/heads/develop Commit: b5a06269f51aa1843cc6da79dd3a6eb0f4848345 Parents: 8966eda Author: Alex Harui aha...@apache.org Authored: Wed Jan 22 16:42:40 2014 + Committer: Alex Harui aha...@apache.org Committed: Wed Jan 22 16:42:40 2014 + -- .../compiler/config/ConfigurationBuffer.java| 23 1 file changed, 23 insertions(+) -- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b5a06269/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java -- diff --git a/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java b/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java index b6484fd..f76bf17 100644 --- a/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java +++ b/compiler/src/org/apache/flex/compiler/config/ConfigurationBuffer.java @@ -102,6 +102,8 @@ import com.google.common.collect.ImmutableList; */ public final class ConfigurationBuffer { +private static final String TARGET_PLAYER = target-player; + public ConfigurationBuffer(Class? extends Configuration configClass) { this(configClass, new HashMapString, String()); @@ -714,6 +716,27 @@ public final class ConfigurationBuffer SetString done = new HashSetString(); boolean success = true; +// get target-player first because its setting affect expansion of some +// tokens later. The varList is populated by getMethods() which returns +// the methods in random order and can result in compiler.library-path being +// evaluated before target-player and then we end up looking up the wrong +// version of playerglobal. +if (varList.contains(TARGET_PLAYER)) +{ +varList.remove(TARGET_PLAYER); +if (varMap.containsKey(TARGET_PLAYER)) +{ +try +{ +commitVariable(config, TARGET_PLAYER, done); +} +catch (ConfigurationException e) +{ +problems.add(new ConfigurationProblem(e)); +success = false; +} +} +} for (IteratorString vars = varList.iterator(); vars.hasNext();) { String var = vars.next();
Re: How can I check if an swf has advanced-telemetry enabled?
I believe there was a new tag added to the swf to enable telemetry. I don't see this tag supported in Apache Flex. -Darrell Loverin On Sun, Nov 17, 2013 at 8:30 AM, christofer.d...@c-ware.de christofer.d...@c-ware.de wrote: Hi, I have recently extedned Flexmojos to support the advanced telemetry compiler flag. Also I have created unit-tests that sort of test that functionality. Unfortunately I can simply see that below flex 4.10 that flag is simply not supported by the compiler. I can't however check if the file is actually enabled. So my question is, what is changed in a SWF in order to enable it so I can check this in a unit-test. Chris
Re: How can I check if an swf has advanced-telemetry enabled?
Oh, I see, Justin added it to swfutils. I was looking for it in falcon since this is where I had added the support but I don't see the code in Apache Flex's falcon. -Darrell On Sun, Nov 17, 2013 at 3:46 PM, Justin Mclean jus...@classsoftware.comwrote: Hi, I believe there was a new tag added to the swf to enable telemetry. I don't see this tag supported in Apache Flex. The new tag in the swf is supported in Apache Flex (4.10 and 4.11) otherwise how else could we support it? The tags value is 93, so you can look for that or just use swfdump, if the swf has advanced telemetry turned on it will show this: EnableTelemetry advancedTelemetry='true'/ Thanks, Justin
Re: [FALCON] Large App Compiles and Starts
Nice job Alex! Let me know if there is a bug you would like me to pick up while you work on something else. On Wed, Oct 9, 2013 at 1:09 PM, Gordon Smith gosm...@adobe.com wrote: Congratulatlons on reaching a huge milestone! - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, October 08, 2013 11:07 PM To: dev@flex.apache.org Subject: [FALCON] Large App Compiles and Starts I checked in a bunch of fixes to Falcon to get a large 20MB SWF to compile and get to its first screen. I'm sure there are more bugs to fix if I used that SWF, but I'm going to stop there for a bit and work on other issues. The Ant script that builds all of this code (several SWCs then one big SWF) takes about 4 minutes to run using MXMLC and 3.5 minutes with Falcon. That's not a huge gain, but maybe we'll find some optimizations. I tried to profile the compilation of the largest SWC, but the profiler got fooled by the the future tasks. I think I saw that most of the time is in the burm, but it is hard to say if it is an inordinate amount of time. Having fixed a number of bugs in Falcon, I'm still not an expert in the code, but my observation is that, besides the burm, there might be optimizations in passing down more state so you don't have to chase up the tree to see if you are in a member expression or assignment, and there might be a way to call the resolver less often, have it resolve faster by having more information about what the search is looking for, including whether you want a getter or a setter. Anyway, Falcon is now in much better shape than it used to be, especially in Flex-specific things like binding and skin parts. -Alex
Re: [FALCON] Large App Compiles and Starts
It would be interesting to run the same test on machines with a different number of processors. In theory, Falcon should outperform MXMLC as the number of processors increase. On Wed, Oct 9, 2013 at 11:38 PM, Justin Mclean jus...@classsoftware.comwrote: Hi, No official measurements. How small are you talking about? Was just wondering if the performance gain were hampered by disk access or other bottle necks, a smaller project may give an more reasonable idea of the typical performance gain in using Falcon. What exactly is a typical project I don't really know, say 2Mb-5Mb range? I guess I could try it myself from the nightly build. Thanks, Justin
Re: [FALCON] using coerce_a
to try to replicate the MXMLC's placement of coerce_a and see if that gets the code to work in AIR. Thanks, -Alex On 9/30/13 10:50 PM, Alex Harui aha...@adobe.com wrote: There's no error, the Dictionary value appears be a Number instead of an instance. Are you sure that Vector access doesn't come through this code? I think I'll start by testing only for ANY_TYPE and adding a coerce_a instead of calling coerce() which would also coerce to any destination type. Thanks for the advice, -Alex From: Darrell Loverin [darrell.love...@gmail.com] Sent: Monday, September 30, 2013 6:11 PM To: dev@flex.apache.org Subject: Re: [FALCON] using coerce_a I generally agree. I don't think I'd try to do anything inside the ternary expression reduce. I'd look at the coerce() method in ABCGeneratingReducer to try to figure out why it is not being called. Question for Alex. What error are you seeing on AIR? A TypeError, a ReferenceError? -Darrell On Mon, Sep 30, 2013 at 8:00 PM, Gordon Smith gosm...@adobe.com wrote: Thanks Darrell. Here are my answers to Alex's questions: Should a complex assignment statement like the above know about the destination type as the clauses of the ternary statement are being reduced? No. Is it safe to add a coerce_a before an assignment to a Dictionary? Yes. If so, what would be the recommended way to determine the assignment is to a Dictionary? The compile-time type of foo[bar], where foo has any type (not just Dictionary), is type *. So I think it is OK to codegen coerce_a before assignment to any foo[bar] expression. Darrell, do you agree or disagree? - Gordon -Original Message- From: Darrell Loverin [mailto:darrell.love...@gmail.com] Sent: Monday, September 30, 2013 3:41 PM To: dev@flex.apache.org Subject: Re: [FALCON] using coerce_a coerce_a Operation Coerce a value to the any type. Format coerce_a Forms Stack ..., value = ..., value Description Indicates to the verifier that the value on the stack is of the any type (*). Does nothing to value. On Mon, Sep 30, 2013 at 6:03 PM, Gordon Smith gosm...@adobe.com wrote: Can you remind me what the a in coerce_a means? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Monday, September 30, 2013 2:43 PM To: dev@flex.apache.org Subject: [FALCON] using coerce_a Gordon, Darrell (mostly) My latest problem appears to be in assigning to a Dictionary. For the following code: var dict:Dictionary = new Dictionary(); Var i:int; Dict[foo] = (i == 0 ? new SomeClass() : new SomeOtherClass()); MXMLC generates a coerce_a after the constructProp for both SomeClass and SomeOtherClass. For some reason, FlashPlayer doesn't care if the coerce_a is missing, but AIR seems to. The question is, should a complex assignment statement like the above know about the destination type as the clauses of the ternary statement are being reduced? And if so, how would we get that knowledge into the reducer. Alternatively, is it safe to add a coerce_a before an assignment to a Dictionary? If so, what would be the recommended way to determine the assignment is to a Dictionary? Thanks, -Alex
Re: [FALCON] using coerce_a
Yes, very strange. The AVM2 spec says the jump instruction does not change the stack either (as you would expect). On Wed, Oct 2, 2013 at 6:23 PM, Alex Harui aha...@adobe.com wrote: When I look at the output, the sequence of ABC instructions generated by MXMLC should be: Constructprop Coerce_a Jump SetProperty And for Falcon ConstructProp Jump Coerce_a SetProperty In x86 asm, a jump only moves the IP and doesn't change anything else. But for some reason, AIR (and not FlashPlayer) is sensitive to that difference. Very strange bug in AIR, IMO. Anyway, I do have Falcon generating the coerce_a where MXMLC outputs it. On 10/2/13 3:13 PM, Darrell Loverin darrell.love...@gmail.com wrote: Nice job figuring this out! Does your change now generate the coerce_a code in the same positions as the MXML compiler? The only difference I saw in byte code with respect to coerce_a was a jump L1 instruction after (Falcon) a coerce_a instead before (mxmlc). mxmlc constructprop private:SomeClass (1) coerce_a jumpL1 Falcon constructprop private:SomeClass (1) jumpL1 L0:findpropstrict private:SomeOtherClass getlocal1 constructprop private:SomeOtherClass (1) L1:coerce_a Was the jump L1 instruction before the coerce_a the issue? -Darrell On Oct 2, 2013, at 4:24 PM, Alex Harui aha...@adobe.com wrote: The reducer method now calls getAncestorOfType(IBinaryOperatorNode.class) and then checks if the operator is OoperatorType.ASSIGNMENT and further that the left node is a DynamicAccessNodel I think just checking parent isn't good enough for nested ternary expressions. Coerce is being called in a few other reduction methods that may take care of the other scenarios you mention. If not, we'll add calls as needed. -Alex On 10/2/13 1:18 PM, Gordon Smith gosm...@adobe.com wrote: In the reducer method for the ternary expression, how do you know whether it going to be assigned to a foo[bar] expression? Do you look at the parent node of the ternary expression? I have a feeling that that isn't how JBurg is supposed to be used, but maybe you can get away with it. You should probably have a different JBurg pattern and reduce method just for this case. I'm also not convinced this covers all the relevant situations where a coerce_a might be necessary. For example, suppose that instead of being assigned to a left-hand-side of type *, the ternary expression is being passed as a argument to a function that has a type * parameter. That might also need a coerce_a. I'd put a comment in the code that this is questionable. But if it gets your app further towards working, it's good. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Wednesday, October 02, 2013 11:52 AM To: dev@flex.apache.org Subject: Re: [FALCON] using coerce_a The code only thinks about coercing if there is a bracket [] node. It gets the type of the left hand side via resolveType and compares the resolveType of the clause node and calls coerce if it doesn't match. So your example won't have a coerce_a in the ABC. -Alex On 10/2/13 11:19 AM, Gordon Smith gosm...@adobe.com wrote: Does that work for ternary expressions and left-hand-sides with other types, such as var i:int = true ? 1 : 2; ? - Gordon On 10/2/13 11:01 AM, Alex Harui aha...@adobe.com wrote: Update: Changing Falcon to generate the coerce_a in the ternary clauses allowed it to work for AIR. The code change is only in ternary expression reduction so I think it won't hurt performance too much. -Alex On 10/1/13 10:09 PM, Alex Harui aha...@adobe.com wrote: So, I added code to add the coerce_a and it did not help. I get the same corrupted output. Here is the AS: package { public class foo { private var dict:Dictionary = new Dictionary(); public function addInstance(instance:ISomeInterface):void { dict[instance.uid] = (instance.someBoolean ? new SomeClass(instance) : new SomeOtherClass(instance)); ... } } //internal class class SomeClass{ public function SomeClass(instance:ISomeInterface) { } //internal class class SomeOtherClass{ public function SomeOtherClass(instance:ISomeInterface) { } Here is the ABC from MXMLC that works: getlocal0 pushscope getlocal0 getproperty private:dict getlocal1 getproperty ISomeInterface:uid getlocal1 getproperty ISomeInterface:someBoolean iffalse L0 findpropstrict private:SomeClass getlocal1 constructprop private:SomeClass (1) coerce_a jumpL1 L0:findpropstrict private:SomeOtherClass getlocal1 constructprop private:SomeOtherClass (1) coerce_a L1:setproperty private,private,,http://adobe.com/AS3/2006/builtin:null Here is the ABC from
Re: [FALCON] using coerce_a
coerce_a Operation Coerce a value to the any type. Format coerce_a Forms Stack ..., value = ..., value Description Indicates to the verifier that the value on the stack is of the any type (*). Does nothing to value. On Mon, Sep 30, 2013 at 6:03 PM, Gordon Smith gosm...@adobe.com wrote: Can you remind me what the a in coerce_a means? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Monday, September 30, 2013 2:43 PM To: dev@flex.apache.org Subject: [FALCON] using coerce_a Gordon, Darrell (mostly) My latest problem appears to be in assigning to a Dictionary. For the following code: var dict:Dictionary = new Dictionary(); Var i:int; Dict[foo] = (i == 0 ? new SomeClass() : new SomeOtherClass()); MXMLC generates a coerce_a after the constructProp for both SomeClass and SomeOtherClass. For some reason, FlashPlayer doesn't care if the coerce_a is missing, but AIR seems to. The question is, should a complex assignment statement like the above know about the destination type as the clauses of the ternary statement are being reduced? And if so, how would we get that knowledge into the reducer. Alternatively, is it safe to add a coerce_a before an assignment to a Dictionary? If so, what would be the recommended way to determine the assignment is to a Dictionary? Thanks, -Alex
Re: [FALCON] using coerce_a
I generally agree. I don't think I'd try to do anything inside the ternary expression reduce. I'd look at the coerce() method in ABCGeneratingReducer to try to figure out why it is not being called. Question for Alex. What error are you seeing on AIR? A TypeError, a ReferenceError? -Darrell On Mon, Sep 30, 2013 at 8:00 PM, Gordon Smith gosm...@adobe.com wrote: Thanks Darrell. Here are my answers to Alex's questions: Should a complex assignment statement like the above know about the destination type as the clauses of the ternary statement are being reduced? No. Is it safe to add a coerce_a before an assignment to a Dictionary? Yes. If so, what would be the recommended way to determine the assignment is to a Dictionary? The compile-time type of foo[bar], where foo has any type (not just Dictionary), is type *. So I think it is OK to codegen coerce_a before assignment to any foo[bar] expression. Darrell, do you agree or disagree? - Gordon -Original Message- From: Darrell Loverin [mailto:darrell.love...@gmail.com] Sent: Monday, September 30, 2013 3:41 PM To: dev@flex.apache.org Subject: Re: [FALCON] using coerce_a coerce_a Operation Coerce a value to the any type. Format coerce_a Forms Stack ..., value = ..., value Description Indicates to the verifier that the value on the stack is of the any type (*). Does nothing to value. On Mon, Sep 30, 2013 at 6:03 PM, Gordon Smith gosm...@adobe.com wrote: Can you remind me what the a in coerce_a means? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Monday, September 30, 2013 2:43 PM To: dev@flex.apache.org Subject: [FALCON] using coerce_a Gordon, Darrell (mostly) My latest problem appears to be in assigning to a Dictionary. For the following code: var dict:Dictionary = new Dictionary(); Var i:int; Dict[foo] = (i == 0 ? new SomeClass() : new SomeOtherClass()); MXMLC generates a coerce_a after the constructProp for both SomeClass and SomeOtherClass. For some reason, FlashPlayer doesn't care if the coerce_a is missing, but AIR seems to. The question is, should a complex assignment statement like the above know about the destination type as the clauses of the ternary statement are being reduced? And if so, how would we get that knowledge into the reducer. Alternatively, is it safe to add a coerce_a before an assignment to a Dictionary? If so, what would be the recommended way to determine the assignment is to a Dictionary? Thanks, -Alex
Re: [FALCON] ABC File Format for Vector?
I don't know of a spec besides the AVM2 spec. I'd also look at the swfdumps of code generated by falcon and mxmlc. On Thu, Sep 19, 2013 at 1:38 PM, Alex Harui aha...@adobe.com wrote: Darrell, Have you (or anybody) seen a spec for how a Vector ends up in the Multiname pool? Thanks, -Alex
Re: [FALCON] ABC File Format for Vector?
Checkout ABCEmitter.java in falcon if you haven't already. If you are seeing an issue with the old compiler's SWFDump, then I believe that was a bug in SWFDump not in falcon's generated code. -Darrell On Thu, Sep 19, 2013 at 2:21 PM, Darrell Loverin darrell.love...@gmail.comwrote: I don't know of a spec besides the AVM2 spec. I'd also look at the swfdumps of code generated by falcon and mxmlc. On Thu, Sep 19, 2013 at 1:38 PM, Alex Harui aha...@adobe.com wrote: Darrell, Have you (or anybody) seen a spec for how a Vector ends up in the Multiname pool? Thanks, -Alex
Re: [FALCON] ABC File Format for Vector?
The VM is the ultimate judge of what is correct. If it runs correctly, then the problem is with SWFDump. -Darrell On Thu, Sep 19, 2013 at 4:14 PM, Alex Harui aha...@adobe.com wrote: I'm using the new compiler's SWFDump. I thought about using MXMLC's SWFDump, but it doesn't handle LZMA so I'd have to switch to uncompressed. When I run this SWF, I get a Verify Error about ABC corruption. When I first tried SWFDump, it blew up on Vector.Vector.String in trying to resolve the Forward reference when parsing the MultiName table in ABCParser I'd never seen forward references in the MultiName table before. A look at MXMLC's swfdump implies that it shouldn't work. So I'm wondering if the player is also blowing up on this or whether it is allowed. Otherwise, ABCEmitter should take the time to stick things in the pool in a different order so there are no forward references. Thoughts? -Alex On 9/19/13 12:11 PM, Darrell Loverin darrell.love...@gmail.com wrote: Checkout ABCEmitter.java in falcon if you haven't already. If you are seeing an issue with the old compiler's SWFDump, then I believe that was a bug in SWFDump not in falcon's generated code. -Darrell On Thu, Sep 19, 2013 at 2:21 PM, Darrell Loverin darrell.love...@gmail.comwrote: I don't know of a spec besides the AVM2 spec. I'd also look at the swfdumps of code generated by falcon and mxmlc. On Thu, Sep 19, 2013 at 1:38 PM, Alex Harui aha...@adobe.com wrote: Darrell, Have you (or anybody) seen a spec for how a Vector ends up in the Multiname pool? Thanks, -Alex
Re: Welcome Darrell Loverin as Apache Flex Committer
Thanks to all for the warm welcome. I'm looking forward to contributing to the success of Apache Flex. -Darrell Loverin On 9/13/13 4:43 PM, Alex Harui aha...@adobe.com wrote: Hi, I am pleased to announce that the Project Management Committee (PMC) for Apache Flex has invited Darrell Loverin to become a committer and he has accepted. Darrell provided several key patches to the Falcon compiler over the past few weeks. Darrell was a member of Adobe's ASC 2.0 team and therefore has a better understanding of the Falcon code base than just about any other committer. Before that he spent nearly 6 years on the Flex team, helping to create the cross-versioning feature known as the Marshall Plan and implementing the signed RSL feature, style modules, improving embedded font handling and more. He therefore is familiar with ActionScript and the MXMLC code base as well. Darrell and I first worked together in the late 1980's at Wang Laboratories on a product called Freestyle. We both were at Lotus/IBM at the same time for a while, Darrell on Lotus Notes while I worked on various other products including cc:Mail. And after I joined Macromedia to work on Flex, I encouraged Darrell to join me. Welcome Darrell! Alex Harui Apache Flex PMC Chair
Re: [?Falcon?] AdvandedDataGrid error
The local variable saves two lookups in rowIndicators. That would be enough for me. -Darrell On 9/12/13 4:34 AM, Erik de Bruin e...@ixsoftware.nl wrote: I'd go with: var rowIndicators:Object = cellSelectionIndicators[rowData.uid]; if (rowIndicators rowIndicators[columnIndex]) { o = rowIndicators[columnIndex]; if (o.parent) o.parent.removeChild(o); delete rowIndicators[columnIndex]; if (!atLeastOneProperty(rowIndicators)) delete cellSelectionIndicators[rowData.uid]; } No need for the extra local variable, it seems. EdB On Thu, Sep 12, 2013 at 10:27 AM, Justin Mclean jus...@classsoftware.com wrote: Hi, Looks much better. Justin -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl
Re: [Falcon]
I'm looking for my next falcon bug. I could look at this one if you'd like. -Darrell On 9/11/13 8:36 AM, Erik de Bruin e...@ixsoftware.nl wrote: On Fri, Sep 6, 2013 at 5:21 PM, Cyrill Zadra cyrill.za...@gmail.com wrote: For this I already raised a JIRA - https://issues.apache.org/jira/browse/FLEX-33716 This looks to be the only issue that is between me and being able to successfully compile a large AIR project using Falcon. Any chance someone who knows the Falcon code can have a quick look to see if it is maybe an 'easyfix'? Thanks! EdB On Fri, Sep 6, 2013 at 7:09 PM, Erik de Bruin e...@ixsoftware.nl wrote: And the second (and last... can it be...) class of errors I get is all of this form: Error: The style 'backgroundAlpha' is only supported by type 'BorderContainer' with the theme(s) 'spark,mobile'. s:BorderContainer id=bcReview width=33% height=100% borderWeight=2 borderColor=#00 backgroundAlpha=0 Is this maybe something else that I need to include via an argument or config? EdB On Fri, Sep 6, 2013 at 5:05 PM, Erik de Bruin e...@ixsoftware.nl wrote: Alex, while on the topic of Falcon: I'm trying to compile a large AIR application which uses embedded media from a path outside the src directory. The code is [Embed(source=./packagedMedia/buttons/notes/up.png)] If I throw this at Falcon, it complains: Error: Could not find Embed source './packagedMedia/buttons/notes/up.png'. Searched '/Users/erik/Documents/Adobe Flash Builder 4.7/pegasus-examSimPlayer/src/application/packagedMedia/buttons/notes/up .png', './packagedMedia/buttons/notes/up.png' in SWCs on the library path Now, before I file another useless JIRA issue, is there a command line thingy that I need to set to tell the compiler where to look? I tried 'source-path' with full and relative paths, but the error remains. EdB On Fri, Sep 6, 2013 at 4:56 PM, Alex Harui aha...@adobe.com wrote: For the const problem, it makes sense that there is an error so yes, we should change the SDK code. For the mustella problem, if adding the import makes the error go away, then yes, we should add the import. -Alex On 9/6/13 3:14 AM, Cyrill Zadra cyrill.za...@gmail.com wrote: Hi Falcon devs :) In last days I found few falcon errors and raised JIRA for them. There are two which we need to decide if we have to make Falcon less strict or update code in SDK and Mustella. https://issues.apache.org/jira/browse/FLEX-33714 https://issues.apache.org/jira/browse/FLEX-33706 In those two cases I'm for changing sdk and mustella code. Any other suggestions? Cyrill -- 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
Re: [Falcon]
Thanks for the link. On 9/12/13 1:15 PM, Dasa Paddock dpadd...@esri.com wrote: Falcon likely has this same Logical OR Assignment bug: https://bugbase.adobe.com/index.cfm?event=bugid=3617792 --Dasa On Sep 12, 2013, at 3:39 AM, Darrell Loverin dlove...@adobe.com wrote: I'm looking for my next falcon bug. I could look at this one if you'd like. -Darrell
Re: [Falcon]
Hard to tell how hard of a fix that bug might be. -Darrell On 9/11/13 2:49 PM, Alex Harui aha...@adobe.com wrote: I might have time. You sure you don't want to try to fix it yourself? -Alex On 9/11/13 5:36 AM, Erik de Bruin e...@ixsoftware.nl wrote: On Fri, Sep 6, 2013 at 5:21 PM, Cyrill Zadra cyrill.za...@gmail.com wrote: For this I already raised a JIRA - https://issues.apache.org/jira/browse/FLEX-33716 This looks to be the only issue that is between me and being able to successfully compile a large AIR project using Falcon. Any chance someone who knows the Falcon code can have a quick look to see if it is maybe an 'easyfix'? Thanks! EdB On Fri, Sep 6, 2013 at 7:09 PM, Erik de Bruin e...@ixsoftware.nl wrote: And the second (and last... can it be...) class of errors I get is all of this form: Error: The style 'backgroundAlpha' is only supported by type 'BorderContainer' with the theme(s) 'spark,mobile'. s:BorderContainer id=bcReview width=33% height=100% borderWeight=2 borderColor=#00 backgroundAlpha=0 Is this maybe something else that I need to include via an argument or config? EdB On Fri, Sep 6, 2013 at 5:05 PM, Erik de Bruin e...@ixsoftware.nl wrote: Alex, while on the topic of Falcon: I'm trying to compile a large AIR application which uses embedded media from a path outside the src directory. The code is [Embed(source=./packagedMedia/buttons/notes/up.png)] If I throw this at Falcon, it complains: Error: Could not find Embed source './packagedMedia/buttons/notes/up.png'. Searched '/Users/erik/Documents/Adobe Flash Builder 4.7/pegasus-examSimPlayer/src/application/packagedMedia/buttons/notes/u p .png', './packagedMedia/buttons/notes/up.png' in SWCs on the library path Now, before I file another useless JIRA issue, is there a command line thingy that I need to set to tell the compiler where to look? I tried 'source-path' with full and relative paths, but the error remains. EdB On Fri, Sep 6, 2013 at 4:56 PM, Alex Harui aha...@adobe.com wrote: For the const problem, it makes sense that there is an error so yes, we should change the SDK code. For the mustella problem, if adding the import makes the error go away, then yes, we should add the import. -Alex On 9/6/13 3:14 AM, Cyrill Zadra cyrill.za...@gmail.com wrote: Hi Falcon devs :) In last days I found few falcon errors and raised JIRA for them. There are two which we need to decide if we have to make Falcon less strict or update code in SDK and Mustella. https://issues.apache.org/jira/browse/FLEX-33714 https://issues.apache.org/jira/browse/FLEX-33706 In those two cases I'm for changing sdk and mustella code. Any other suggestions? Cyrill -- 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
Re: [Falcon]
No, I would fix the sdk. -Darrell On 9/9/13 4:17 AM, Cyrill Zadra cyrill.za...@gmail.com wrote: In flex sdk project there are a few Warning: variable definition duplicates function parameter warnings if it s compiled by falcon. So I check those lines and it seems for me that falcon compiler is correct and sdk code should be fixed. Any other suggestions? https://issues.apache.org/jira/browse/FLEX-33718 On Fri, Sep 6, 2013 at 2:14 PM, Cyrill Zadra cyrill.za...@gmail.com wrote: Hi Falcon devs :) In last days I found few falcon errors and raised JIRA for them. There are two which we need to decide if we have to make Falcon less strict or update code in SDK and Mustella. https://issues.apache.org/jira/browse/FLEX-33714 https://issues.apache.org/jira/browse/FLEX-33706 In those two cases I'm for changing sdk and mustella code. Any other suggestions? Cyrill
Re: [Falcon] BasicTests compiles and runs
I agree that an environment variable is a good way to break the flex sdk and compiler location dependencies. I'd suggest something like FLEX_COMPILER_HOME rather than a codename like FALCON. It would be pretty quick to see if this would work: 1. Command line - flex scripts defer to an alternate compiler's scripts (falcon) using an environment variable. 2. Ant scripts - find new location of flexTasks.jar from environment variable. But I think getting FB to use Falcon to create SWFs will more difficult since we don't have access to the FB source. I believe that FB is not only dependent on flex-compiler-oem.jar (oem api) but it cheats is also dependent on mxmlc.jar. An approach I think could work is to create a modified version of flex-compiler-oem.jar that satisfies FB and calls falcon jars. You could think of the oem api having two major parts. The first part is where FB calls in to convert its settings into mxmlc configuration settings. The second part sets the configuration and then compiles. We can probably keep the first part mostly in place. We modify the second part to get the configuration options as a command line string and use that to kick off the falcon build. -Darrell On 9/3/13 7:02 PM, Gordon Smith gosm...@adobe.com wrote: Ah. Then maybe set a FALCON environment variable to true and have the launch scripts check it? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 3:58 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Yeah, but I think FB only knows how to find and launch mxmlc. And folks with ant scripts, etc, should be able to switch easily. The shell script and batch files could check some environment variable, but I think some other places load up mxmlc.jar and start talking to it. -Alex On 9/3/13 3:52 PM, Gordon Smith gosm...@adobe.com wrote: The simplest thing is just to have dual launch scripts: fmxmlc (Falcon) vs. mxmlc (old compiler), fcompc vs. compc, etc. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 2:45 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Excellent. I'll try it out now. Now that you've seen how we manage the source code in Git for Apache Flex, what do you think we should do about packaging up Falcon to work with an Apache Flex SDK? There would need to be some sort of switch to allow someone to go back to the old MXMLC if they need to. Thanks, -Alex On 9/3/13 2:37 PM, Darrell Loverin dlove...@adobe.com wrote: Added a patch for the implicit import issue: https://issues.apache.org/jira/browse/FLEX-33701 -Darrell On 9/3/13 4:08 PM, Darrell Loverin dlove...@adobe.com wrote: The below args almost work for me from eclipse. There are three undefined classes because flash.filters.* is not auto included. I'm close to have the fix for that. args: /Users/dloverin/git-src/ApacheFlex/source/flex-sdk/frameworks/tests/b a sic T e sts/BasicTests.mxml -debug -library-path+=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/mus -library-path+t -library-path+ell a / mustella.swc Vmargs: -Xmx1024m -Dsun.io.useCanonCaches=false -Dflexlib=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/framewor k s -Dflexcompiler=/Users/dloverin/git-src/ApacheFlex/source/falcon/compi l er -Darrell On 9/3/13 2:49 PM, Alex Harui aha...@adobe.com wrote: I'll try when I get back to my computer. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: I did an 'ant wipe' which seems to delete 'generated'. EdB On Tue, Sep 3, 2013 at 7:50 PM, Alex Harui aha...@adobe.com wrote: I am using a launch configuration in eclipse. Maybe the jars in generated are not updated. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: I am, last commit showing is more fixes for BasicTests... (6b5dbbcbbda894b7c7b2998af0fe4776862769cd) Falcon builds fine, all tests pass. I've added the generated/dist/sdk/bin directory to my PATH and cd to the basicTests dir before running mxmlc basicTests.mxml. The start of the terminal output is: Using Flex SDK: /Applications/Adobe Flash Builder 4.7/sdks/4.10.0 (nightly) Loading configuration: /Applications/Adobe Flash Builder 4.7/sdks/4.10.0 (nightly)/frameworks/flex-config.xml Loading configuration: /Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/tests/basi c Tes t s /BasicTests-config.xml not adding bindable variable trait for disclosureGroup in Qname: Group::{PackageNs:spark.components} not adding bindable variable trait for editor in Qname: TextInput::{PackageNs:spark.components} /Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/tests/basi c Tes t s /dmv/scripts/ADGTestScript.mxml Error: Internal error in syntax tree request subsystem, when generating code for: /Users/erik/Documents/ApacheFlex/git
Re: [Falcon] BasicTests compiles and runs
OK, I'll assign a bug to myself. On 9/4/13 12:47 PM, Alex Harui aha...@adobe.com wrote: If I could choose, I'd have you look at those bugs Cyrill scrubbed. If they involve ANTLR changes, you will have a better clue than me, even if you haven't personally done that sort of thing yet, just because you've heard the rest of your former team talk about it. -Alex On 9/4/13 9:39 AM, Darrell Loverin dlove...@adobe.com wrote: Which is more important to get done first? The script changes will be simple but writing a replacement flex-compiler-oem.jar may become involved and take a week. -Darrell On 9/4/13 12:08 PM, Alex Harui aha...@adobe.com wrote: Hi Darrell, Is that what you want to take on next? Or maybe pick off a few of the bugs already filed under Falcon that Cyrill scrubbed last night? Thanks, -Alex On 9/4/13 8:59 AM, Darrell Loverin dlove...@adobe.com wrote: I agree that an environment variable is a good way to break the flex sdk and compiler location dependencies. I'd suggest something like FLEX_COMPILER_HOME rather than a codename like FALCON. It would be pretty quick to see if this would work: 1. Command line - flex scripts defer to an alternate compiler's scripts (falcon) using an environment variable. 2. Ant scripts - find new location of flexTasks.jar from environment variable. But I think getting FB to use Falcon to create SWFs will more difficult since we don't have access to the FB source. I believe that FB is not only dependent on flex-compiler-oem.jar (oem api) but it cheats is also dependent on mxmlc.jar. An approach I think could work is to create a modified version of flex-compiler-oem.jar that satisfies FB and calls falcon jars. You could think of the oem api having two major parts. The first part is where FB calls in to convert its settings into mxmlc configuration settings. The second part sets the configuration and then compiles. We can probably keep the first part mostly in place. We modify the second part to get the configuration options as a command line string and use that to kick off the falcon build. -Darrell On 9/3/13 7:02 PM, Gordon Smith gosm...@adobe.com wrote: Ah. Then maybe set a FALCON environment variable to true and have the launch scripts check it? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 3:58 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Yeah, but I think FB only knows how to find and launch mxmlc. And folks with ant scripts, etc, should be able to switch easily. The shell script and batch files could check some environment variable, but I think some other places load up mxmlc.jar and start talking to it. -Alex On 9/3/13 3:52 PM, Gordon Smith gosm...@adobe.com wrote: The simplest thing is just to have dual launch scripts: fmxmlc (Falcon) vs. mxmlc (old compiler), fcompc vs. compc, etc. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 2:45 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Excellent. I'll try it out now. Now that you've seen how we manage the source code in Git for Apache Flex, what do you think we should do about packaging up Falcon to work with an Apache Flex SDK? There would need to be some sort of switch to allow someone to go back to the old MXMLC if they need to. Thanks, -Alex On 9/3/13 2:37 PM, Darrell Loverin dlove...@adobe.com wrote: Added a patch for the implicit import issue: https://issues.apache.org/jira/browse/FLEX-33701 -Darrell On 9/3/13 4:08 PM, Darrell Loverin dlove...@adobe.com wrote: The below args almost work for me from eclipse. There are three undefined classes because flash.filters.* is not auto included. I'm close to have the fix for that. args: /Users/dloverin/git-src/ApacheFlex/source/flex-sdk/frameworks/tests / b a sic T e sts/BasicTests.mxml -debug -library-path+=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/m u s -library-path+t -library-path+ell a / mustella.swc Vmargs: -Xmx1024m -Dsun.io.useCanonCaches=false -Dflexlib=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/framew o r k s -Dflexcompiler=/Users/dloverin/git-src/ApacheFlex/source/falcon/com p i l er -Darrell On 9/3/13 2:49 PM, Alex Harui aha...@adobe.com wrote: I'll try when I get back to my computer. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: I did an 'ant wipe' which seems to delete 'generated'. EdB On Tue, Sep 3, 2013 at 7:50 PM, Alex Harui aha...@adobe.com wrote: I am using a launch configuration in eclipse. Maybe the jars in generated are not updated. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: I am, last commit showing is more fixes for BasicTests... (6b5dbbcbbda894b7c7b2998af0fe4776862769cd) Falcon builds fine, all tests pass. I've added
Re: [Falcon] BasicTests compiles and runs
It would be a separate compile as you noted but what other choice is there if we don't have access to the FB sources? You definitely wouldn't get Falcon-based code hinting, and the data structures of the old Code Model would be taking up memory. Not sure why we wouldn't get Falcon-based code hinting. FB uses Falcon for code hinting today. Not planning to change that. On 9/4/13 1:20 PM, Gordon Smith gosm...@adobe.com wrote: The current FB can't use Falcon By making a new flex-compiler-oem.jar based on Falcon, you could make FB use Falcon to compile. But I don't think you'd get memory-resident data structures, which was one of the main points of Falcon... I think with the flex-compiler-oem.jar approach you'd be starting over with each compilation, parsing files, parsing SWCs, building symbol tables. (Darrell, am I wrong here?) You definitely wouldn't get Falcon-based code hinting, and the data structures of the old Code Model would be taking up memory. The point of Falcon was to have the code hinting and the compilation share data structures that are resident in memory. - Gordon -Original Message- From: Gordon Smith [mailto:gosm...@adobe.com] Sent: Wednesday, September 04, 2013 10:14 AM To: dev@flex.apache.org; Erik de Bruin Subject: RE: [Falcon] BasicTests compiles and runs FLEX_COMPILER_HOME I thought Alex wanted to start including Falcon as part of the SDK. If that's the case, the Falcon JARs belong in the same lib directory as all the other JARs, including those for the old compiler, and there wouldn't be different homes for the two compilers. But there still needs to be a switch to tell the launch scripts which JAR to use. But I think getting FB to use Falcon ... The current FB can't use Falcon because we had to rename every package from com.adobe to org.apache when we donated Falcon. - Gordon -Original Message- From: Darrell Loverin [mailto:dlove...@adobe.com] Sent: Wednesday, September 04, 2013 8:59 AM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs I agree that an environment variable is a good way to break the flex sdk and compiler location dependencies. I'd suggest something like FLEX_COMPILER_HOME rather than a codename like FALCON. It would be pretty quick to see if this would work: 1. Command line - flex scripts defer to an alternate compiler's scripts (falcon) using an environment variable. 2. Ant scripts - find new location of flexTasks.jar from environment variable. But I think getting FB to use Falcon to create SWFs will more difficult since we don't have access to the FB source. I believe that FB is not only dependent on flex-compiler-oem.jar (oem api) but it cheats is also dependent on mxmlc.jar. An approach I think could work is to create a modified version of flex-compiler-oem.jar that satisfies FB and calls falcon jars. You could think of the oem api having two major parts. The first part is where FB calls in to convert its settings into mxmlc configuration settings. The second part sets the configuration and then compiles. We can probably keep the first part mostly in place. We modify the second part to get the configuration options as a command line string and use that to kick off the falcon build. -Darrell On 9/3/13 7:02 PM, Gordon Smith gosm...@adobe.com wrote: Ah. Then maybe set a FALCON environment variable to true and have the launch scripts check it? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 3:58 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Yeah, but I think FB only knows how to find and launch mxmlc. And folks with ant scripts, etc, should be able to switch easily. The shell script and batch files could check some environment variable, but I think some other places load up mxmlc.jar and start talking to it. -Alex On 9/3/13 3:52 PM, Gordon Smith gosm...@adobe.com wrote: The simplest thing is just to have dual launch scripts: fmxmlc (Falcon) vs. mxmlc (old compiler), fcompc vs. compc, etc. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 2:45 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Excellent. I'll try it out now. Now that you've seen how we manage the source code in Git for Apache Flex, what do you think we should do about packaging up Falcon to work with an Apache Flex SDK? There would need to be some sort of switch to allow someone to go back to the old MXMLC if they need to. Thanks, -Alex On 9/3/13 2:37 PM, Darrell Loverin dlove...@adobe.com wrote: Added a patch for the implicit import issue: https://issues.apache.org/jira/browse/FLEX-33701 -Darrell On 9/3/13 4:08 PM, Darrell Loverin dlove...@adobe.com wrote: The below args almost work for me from eclipse. There are three undefined classes because flash.filters.* is not auto included. I'm
Assigning bugs
Can someone assign this bug https://issues.apache.org/jira/browse/FLEX-33322 to Darrell Loverin Doesn't seem like I have the ability to edit bugs. -Darrell
Re: [Falcon] BasicTests compiles and runs
Which is more important to get done first? The script changes will be simple but writing a replacement flex-compiler-oem.jar may become involved and take a week. -Darrell On 9/4/13 12:08 PM, Alex Harui aha...@adobe.com wrote: Hi Darrell, Is that what you want to take on next? Or maybe pick off a few of the bugs already filed under Falcon that Cyrill scrubbed last night? Thanks, -Alex On 9/4/13 8:59 AM, Darrell Loverin dlove...@adobe.com wrote: I agree that an environment variable is a good way to break the flex sdk and compiler location dependencies. I'd suggest something like FLEX_COMPILER_HOME rather than a codename like FALCON. It would be pretty quick to see if this would work: 1. Command line - flex scripts defer to an alternate compiler's scripts (falcon) using an environment variable. 2. Ant scripts - find new location of flexTasks.jar from environment variable. But I think getting FB to use Falcon to create SWFs will more difficult since we don't have access to the FB source. I believe that FB is not only dependent on flex-compiler-oem.jar (oem api) but it cheats is also dependent on mxmlc.jar. An approach I think could work is to create a modified version of flex-compiler-oem.jar that satisfies FB and calls falcon jars. You could think of the oem api having two major parts. The first part is where FB calls in to convert its settings into mxmlc configuration settings. The second part sets the configuration and then compiles. We can probably keep the first part mostly in place. We modify the second part to get the configuration options as a command line string and use that to kick off the falcon build. -Darrell On 9/3/13 7:02 PM, Gordon Smith gosm...@adobe.com wrote: Ah. Then maybe set a FALCON environment variable to true and have the launch scripts check it? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 3:58 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Yeah, but I think FB only knows how to find and launch mxmlc. And folks with ant scripts, etc, should be able to switch easily. The shell script and batch files could check some environment variable, but I think some other places load up mxmlc.jar and start talking to it. -Alex On 9/3/13 3:52 PM, Gordon Smith gosm...@adobe.com wrote: The simplest thing is just to have dual launch scripts: fmxmlc (Falcon) vs. mxmlc (old compiler), fcompc vs. compc, etc. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, September 03, 2013 2:45 PM To: dev@flex.apache.org; Erik de Bruin Subject: Re: [Falcon] BasicTests compiles and runs Excellent. I'll try it out now. Now that you've seen how we manage the source code in Git for Apache Flex, what do you think we should do about packaging up Falcon to work with an Apache Flex SDK? There would need to be some sort of switch to allow someone to go back to the old MXMLC if they need to. Thanks, -Alex On 9/3/13 2:37 PM, Darrell Loverin dlove...@adobe.com wrote: Added a patch for the implicit import issue: https://issues.apache.org/jira/browse/FLEX-33701 -Darrell On 9/3/13 4:08 PM, Darrell Loverin dlove...@adobe.com wrote: The below args almost work for me from eclipse. There are three undefined classes because flash.filters.* is not auto included. I'm close to have the fix for that. args: /Users/dloverin/git-src/ApacheFlex/source/flex-sdk/frameworks/tests/b a sic T e sts/BasicTests.mxml -debug -library-path+=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/mus -library-path+t -library-path+ell a / mustella.swc Vmargs: -Xmx1024m -Dsun.io.useCanonCaches=false -Dflexlib=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/framewor k s -Dflexcompiler=/Users/dloverin/git-src/ApacheFlex/source/falcon/compi l er -Darrell On 9/3/13 2:49 PM, Alex Harui aha...@adobe.com wrote: I'll try when I get back to my computer. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: I did an 'ant wipe' which seems to delete 'generated'. EdB On Tue, Sep 3, 2013 at 7:50 PM, Alex Harui aha...@adobe.com wrote: I am using a launch configuration in eclipse. Maybe the jars in generated are not updated. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. Erik de Bruin e...@ixsoftware.nl wrote: I am, last commit showing is more fixes for BasicTests... (6b5dbbcbbda894b7c7b2998af0fe4776862769cd) Falcon builds fine, all tests pass. I've added the generated/dist/sdk/bin directory to my PATH and cd to the basicTests dir before running mxmlc basicTests.mxml. The start of the terminal output is: Using Flex SDK: /Applications/Adobe Flash Builder 4.7/sdks/4.10.0 (nightly) Loading configuration: /Applications/Adobe Flash Builder 4.7/sdks/4.10.0 (nightly)/frameworks/flex-config.xml Loading configuration: /Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/tests/basi c Tes t
Re: Assigning bugs
I've been able to create bugs. On 9/4/13 1:39 PM, Erik de Bruin e...@ixsoftware.nl wrote: I tried, but JIRA doesn't know about a Darrell Loverin. Do you have a JIRA account? EdB On Wed, Sep 4, 2013 at 7:36 PM, Darrell Loverin dlove...@adobe.com wrote: Can someone assign this bug https://issues.apache.org/jira/browse/FLEX-33322 to Darrell Loverin Doesn't seem like I have the ability to edit bugs. -Darrell -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl
Re: Assigning bugs
Thanks! On 9/4/13 1:51 PM, Alex Harui aha...@adobe.com wrote: Try assigning again. I added you to the JIRA committers list. On 9/4/13 10:45 AM, Darrell Loverin dlove...@adobe.com wrote: I've been able to create bugs. On 9/4/13 1:39 PM, Erik de Bruin e...@ixsoftware.nl wrote: I tried, but JIRA doesn't know about a Darrell Loverin. Do you have a JIRA account? EdB On Wed, Sep 4, 2013 at 7:36 PM, Darrell Loverin dlove...@adobe.com wrote: Can someone assign this bug https://issues.apache.org/jira/browse/FLEX-33322 to Darrell Loverin Doesn't seem like I have the ability to edit bugs. -Darrell -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl
Re: Specifying multiple RSL URL
The root of the problem seems to be trying to load the same RSL URL with a relative path from SWFs in different locations. Would either of these solutions work for you? 1. Deploy modules1.swf to the ROOT directory instead of ROOT/MODULES. 2. If rsl2.swf is only used by module1 then move rsl2.swf to ROOT/MODULES 3. Specify the RSL URL with an absolute path name. -Darrell Loverin On 8/29/13 10:31 AM, Jagan Langa Sami Durai jaga...@sybrant.com wrote: Hi All, This is how I deployed my application. ROOT/application.swf ROOT/MODULES/module1.swf ROOT/RSLS/rsl1.swf ROOT/RSLS/rsl2.swf This is how I specified the rsl's path while compiling my application and modules( in ant script) runtime-shared-library-path path-element=${RSL_DIR}/rsl1.swc url rsl-url=rsls/rsl1.swf / /runtime-shared-library-path runtime-shared-library-path path-element=${RSL_DIR}/rsl2.swc url rsl-url=rsls/rsl2.swf / /runtime-shared-library-path Here is my problem, application.swf uses the rsl1.swf as rsl and module1.swf uses rsl1.swf and rsl2.swf as rsl when i try to load the module1.swf inside the application1.swf, module1.swf is looking for the 2 required rsl's (rsl1.swf and rsl2.swf). since rsl1.swf is already loaded by the application1.swf it is taking it and trying to load the rsl2.swf from the ROOT/*MODULES*/RSLS/ path. since all the rsl's in the ROOT/RSLS folder, it is getting the 404 error for rsl2.swf and module1.swf is not loading. so, I updated the ant script as follows for the rsl2.swf, runtime-shared-library-path path-element=${RSL_DIR}/rsl2.swc url rsl-url=rsls/rsl2.swf / url rsl-url=../rsls/rsl2.swf / /runtime-shared-library-path now what happens is, since MODULES/RSLS/rsl2.swf receives 404; it tries to load the second fail-over one like this http://../rsls/rsl2.swf; which is also an invalid url. how can i specify more fail-over url's relatively. plz help me. * Regards, S. Jagan Langa*