Oops. I added `id=dynamic` after testing. swf10 doesn't like me using a keyword as a var name.
Either change that (in dynamic/dynamic.lzx) or re-download the changeset (which I updated to be `id="dynamicTest"`). On 2010-05-18, at 10:03, Henry Minsky wrote: > I'm getting an error compiling in swf10 > > Executing compiler: (cd > /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite; > /Users/hqm/openlaszlo/trunk1/WEB-INF/bin/mxmlc > -load-config=/Users/hqm/openlaszlo/trunk1/WEB-INF/frameworks/flex-config.xml > -compiler.show-actionscript-warnings=false > -compiler.source-path+=/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite > -debug=true -compiler.headless-server=true > -compiler.fonts.advanced-anti-aliasing=true -output > /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite/app.swf > -default-size 800 600 > -compiler.library-path+=/Users/hqm/openlaszlo/trunk1/lps/includes/lfc/LFC10-backtrace.swc > -compiler.library-path+=/Users/hqm/openlaszlo/trunk1/WEB-INF/flexlib > -includes \$debug \$profile \$backtrace \$runtime \$swf7 \$swf8 \$as2 \$swf9 > \$swf10 \$as3 \$dhtml \$j2me \$svg \$js1 -target-player=10.0.0 -frame two > LzSpriteApplication > -file-specs=/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite/LzPreloader.as) > > compiler output is Loading configuration file > /Users/hqm/openlaszlo/trunk1/WEB-INF/frameworks/flex-config.xml > > compiler output: > Loading configuration file > /Users/hqm/openlaszlo/trunk1/WEB-INF/frameworks/flex-config.xml > > ERRORS: > [/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite/LzApplication.as: > 2624] dynamic/dynamic.lzx: 69: Error: Access of undefined property dynamic. > [/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite/LzApplication.as: > 2624] dynamic/dynamic.lzx: 69: Error: Property is read-only. > [/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite/LzApplication.as: > 2627] dynamic/dynamic.lzx: 72: Error: Access of undefined property dynamic. > [/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite/LzApplication.as: > 2627] dynamic/dynamic.lzx: 72: Error: Property is read-only. > FAIL: compiler returned 4 > Done executing compiler > Intermediate file > /var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/test/style/build/metasuite/app.swf: > does not exist > Exception in thread "main" org.openlaszlo.utils.ChainedException: > org.openlaszlo.sc.CompilerError: dynamic/dynamic.lzx: 69: Error: Access of > undefined property dynamic, in line: dynamic = $0; > dynamic/dynamic.lzx: 69: Error: Property is read-only, in line: dynamic = > $0; > dynamic/dynamic.lzx: 72: Error: Access of undefined property dynamic, in > line: dynamic = null; > dynamic/dynamic.lzx: 72: Error: Property is read-only, in line: dynamic = > null; > at org.openlaszlo.compiler.SWF9Writer.close(SWF9Writer.java:473) > at org.openlaszlo.compiler.Compiler.compile(Compiler.java:463) > at org.openlaszlo.compiler.Compiler.compile(Compiler.java:196) > at org.openlaszlo.compiler.Main.compile(Main.java:427) > at org.openlaszlo.compiler.Main.lzc(Main.java:366) > at org.openlaszlo.compiler.Main.main(Main.java:101) > Caused by: org.openlaszlo.sc.CompilerError: dynamic/dynamic.lzx: 69: Error: > Access of undefined property dynamic, in line: dynamic = $0; > dynamic/dynamic.lzx: 69: Error: Property is read-only, in line: dynamic = > $0; > dynamic/dynamic.lzx: 72: Error: Access of undefined property dynamic, in > line: dynamic = null; > dynamic/dynamic.lzx: 72: Error: Property is read-only, in line: dynamic = > null; > at > org.openlaszlo.sc.SWF9External.callJavaCompileCommand(SWF9External.java:908) > at > org.openlaszlo.sc.SWF9External.compileTranslationUnits(SWF9External.java:1131) > at > org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1055) > at org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:59) > at org.openlaszlo.compiler.SWF9Writer.close(SWF9Writer.java:456) > ... 5 more > Caused by: org.openlaszlo.sc.CompilerError: dynamic/dynamic.lzx: 69: Error: > Access of undefined property dynamic, in line: dynamic = $0; > dynamic/dynamic.lzx: 69: Error: Property is read-only, in line: dynamic = > $0; > dynamic/dynamic.lzx: 72: Error: Access of undefined property dynamic, in > line: dynamic = null; > dynamic/dynamic.lzx: 72: Error: Property is read-only, in line: dynamic = > null; > at > org.openlaszlo.sc.SWF9External.callJavaCompileCommand(SWF9External.java:908) > at > org.openlaszlo.sc.SWF9External.compileTranslationUnits(SWF9External.java:1131) > at > org.openlaszlo.sc.SWF9Generator.callFlexCompiler(SWF9Generator.java:1055) > at org.openlaszlo.sc.SWF10Compiler.finishApp(SWF10Compiler.java:59) > at org.openlaszlo.compiler.SWF9Writer.close(SWF9Writer.java:456) > at org.openlaszlo.compiler.Compiler.compile(Compiler.java:463) > at org.openlaszlo.compiler.Compiler.compile(Compiler.java:196) > at org.openlaszlo.compiler.Main.compile(Main.java:427) > at org.openlaszlo.compiler.Main.lzc(Main.java:366) > at org.openlaszlo.compiler.Main.main(Main.java:101) > badtzmaru:trunk1 hqm$ badtzmaru:trunk1 hqm$ > > On Tue, May 18, 2010 at 8:36 AM, P T Withington <[email protected]> wrote: > >> [Resending with Henry's name spelled correctly.] >> >> Change 20100518-ptw-j by [email protected] on 2010-05-18 08:20:53 EDT >> in /Users/ptw/OpenLaszlo/trunk >> for http://svn.openlaszlo.org/openlaszlo/trunk >> >> Summary: Test for dynamic CSS selectors >> >> Bugs Fixed: LPP-7359 Make CSS attribute selectors dynamic >> >> Technical Reviewer: [email protected] (pending) >> QA Reviewer: [email protected] (pending) >> >> Overview: >> Adapted my dynamic CSS 'color mixer' example to an lzunit test >> >> Details: >> Added test/style/dynamic/* which can be run as a standalone test >> using test/style/dynamic/main.lzx and is also added to the >> metasuite list of tests. >> >> attrs.lzx: Type-oh notice in passing. >> >> metasuite.lzx: Moved the debugger window slightly so you can see >> the test output. >> >> Tests: >> >> Files: >> A test/style/dynamic >> A test/style/dynamic/dynamic.lzx >> A test/style/dynamic/library.lzx >> A test/style/dynamic/main.lzx >> M test/style/attrselector/attrs.lzx >> M test/style/metasuite.lzx >> >> >> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100518-ptw-j.tar >> > > > > -- > Henry Minsky > Software Architect > [email protected]
