http://code.google.com/p/apparat/

On Sat, Dec 11, 2010 at 1:09 PM, Christofer Dutz <
[email protected]> wrote:

> Hi,
>
> I finally managed to get 4.0-SNAPSHOT from git and get it to build.
> I userd to build my project with 3.7.1 without problems. With the
> 4.0-SNAPSHOT I am having some trouble though.
> One of my modules uses antlr to generate a flex-based evaluator for
> mathematical expressions. If I build this module, I get a
> NoSuchElementException from Scala and the build hangs indeffinetly. Here's
> the output:
>
> [INFO] --- antlr3-maven-plugin:3.2:antlr (default) @
> cweb-core.client.lib-evaluator ---
> [INFO] ANTLR: Processing source directory
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\src\main\antlr3
> ANTLR Parser Generator  Version 3.2 Sep 23, 2009 14:05:07
> de\cware\cweb\services\evaluator\parser\SecurityRules.g
> de\cware\cweb\services\evaluator\parser\SecurityRulesEvaluator.g
> [INFO]
> [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
> cweb-core.client.lib-evaluator ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\src\main\resources
> [INFO]
> [INFO] --- flexmojos-maven-plugin:4.0-SNAPSHOT:compile-swc
> (default-compile-swc) @ cweb-core.client.lib-evaluator ---
>
> ... removed the download messages ...
>
> [INFO] Flexmojos 4.0-SNAPSHOT[INFO]  Apache License - Version 2.0 (NO
> WARRANTY) - See COPYRIGHT file
> [WARNING] No themes are explicitly defined in the <theme> section or in any
> scope="theme" dependencies. Flexmojos is now attempting to figure out which
> themes to include. (to avoid this warning you should explicitly state your
> theme dependencies)
> Downloading:
> http://dev.c-ware.de/artifactory/remote-repos/com/adobe/flex/framework/spark/4.5.0.17077/spark-4.5.0.17077-theme.css
>
> [WARNING] Added the spark.css theme because spark.swc was included as a
> dependency
> Downloading:
> http://dev.c-ware.de/artifactory/remote-repos/com/adobe/flex/framework/halo/4.5.0.17077/halo-4.5.0.17077-theme.swc
>
> [WARNING] Added the halo.swc theme because mx.swc was included as a
> dependency
> Writing configuration dump to
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\cweb-core.client.lib-evaluator-1.0.0-SNAPSHOT-configs.xml
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\generated-sources\antlr3\de\cware\cweb\services\evaluator\parser\SecurityRulesParser.as(814):
> col: 29 Warning: Doppelte Variablendefinition.
>
>                         var stream_retval:RewriteRuleSubtreeStream=new
> RewriteRuleSubtreeStream(adaptor,"rule
> retval",retval!=null?retval.tree:null);
>                             ^
>
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\generated-sources\antlr3\de\cware\cweb\services\evaluator\parser\SecurityRulesParser.as(815):
> col: 29 Warning: Doppelte Variablendefinition.
>
>                         var stream_o:RewriteRuleSubtreeStream=new
> RewriteRuleSubtreeStream(adaptor,"rule o",o!=null?o.tree:null);
>                             ^
>
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\generated-sources\antlr3\de\cware\cweb\services\evaluator\parser\SecurityRulesParser.as(822):
> col: 33 Warning: Doppelte Variablendefinition.
>
>                             var root_1:CommonTree =
> CommonTree(adaptor.nil());
>                                 ^
>
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\generated-sources\antlr3\de\cware\cweb\services\evaluator\parser\SecurityRulesParser.as(1006):
> col: 29 Warning: Doppelte Variablendefinition.
>
>                         var stream_retval:RewriteRuleSubtreeStream=new
> RewriteRuleSubtreeStream(adaptor,"rule
> retval",retval!=null?retval.tree:null);
>                             ^
>
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\generated-sources\antlr3\de\cware\cweb\services\evaluator\parser\SecurityRulesParser.as(1013):
> col: 33 Warning: Doppelte Variablendefinition.
>
>                             var root_1:CommonTree =
> CommonTree(adaptor.nil());
>                                 ^
>
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\cweb-core.client.lib-evaluator-1.0.0-SNAPSHOT.swc
> (30609 bytes)
> [INFO]
> [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources)
> @ cweb-core.client.lib-evaluator ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\src\test\resources
> [INFO]
> [INFO] --- flexmojos-maven-plugin:4.0-SNAPSHOT:test-compile
> (default-test-compile) @ cweb-core.client.lib-evaluator ---
> [INFO] Flexmojos 4.0-SNAPSHOT
> [INFO]  Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> [WARNING] Skipping compiler, test source path doesn't exist.
> [INFO]
> [INFO] --- flexmojos-maven-plugin:4.0-SNAPSHOT:test-run (default-test-run)
> @ cweb-core.client.lib-evaluator ---
> [INFO] Flexmojos 4.0-SNAPSHOT
> [INFO]  Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> [WARNING] Skipping test run. Runner not found:
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\test-classes
> [INFO]
> [INFO] --- flexmojos-maven-plugin:4.0-SNAPSHOT:create-rsl
> (default-create-rsl) @ cweb-core.client.lib-evaluator ---
> [INFO] Flexmojos 4.0-SNAPSHOT
> [INFO]  Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\classes\original.swf
> (29636 bytes)
> E:\Projekte\Electronic-Emotions\trunk\modules\cweb-core\client\lib-evaluator\target\classes\optimized.swf
> (15730 bytes)
> [INFO] Merging identical control flow ...
> [INFO] Merging ABC files ...
> [INFO] Rebuilding constant pool ...
> [WARNING] Only raw bytecode will be checked for identity.
> [WARNING] 7z is not present on PATH. Fallback to normal compression.
> [INFO] Compression ratio: 4,55%
> [INFO] Total bytes: 715
> [INFO] Merging identical control flow ...
> <function0>: caught java.util.NoSuchElementException: key not found:
> [[GetLocal(0)\nGetProperty(AbcQName('state,AbcNamespace(22,')))\nGetScopeObject(1)\nGetSlot(1)\nSetProperty(AbcQName('type,AbcNamespace(22,')))\nGetLocal(0)\nGetProperty(AbcQName('state,AbcNamespace(22,')))\nGetScopeObject(1)\nGetSlot(2)\nSetProperty(AbcQName('channel,AbcNamespace(22,')))\nPushByte(-1)]]
> java.util.NoSuchElementException: key not found:
> [[GetLocal(0)\nGetProperty(AbcQName('state,AbcNamespace(22,')))\nGetScopeObject(1)\nGetSlot(1)\nSetProperty(AbcQName('type,AbcNamespace(22,')))\nGetLocal(0)\nGetProperty(AbcQName('state,AbcNamespace(22,')))\nGetScopeObject(1)\nGetSlot(2)\nSetProperty(AbcQName('channel,AbcNamespace(22,')))\nPushByte(-1)]]
>  at scala.collection.MapLike$class.default(MapLike.scala:223)
> at scala.collection.immutable.HashMap.default(HashMap.scala:35)
>  at scala.collection.MapLike$class.apply(MapLike.scala:134)
> at scala.collection.immutable.HashMap.apply(HashMap.scala:35)
>  at
> apparat.graph.ControlFlowGraphBytecodeBuilder$$anonfun$toBytecode$2$$anonfun$6.apply(ControlFlowGraphBytecodeBuilder.scala:97)
> at
> apparat.graph.ControlFlowGraphBytecodeBuilder$$anonfun$toBytecode$2$$anonfun$6.apply(ControlFlowGraphBytecodeBuilder.scala:97)
>  at
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206)
> at
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206)
>  at
> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
> at scala.collection.immutable.List.foreach(List.scala:45)
>  at scala.collection.TraversableLike$class.map(TraversableLike.scala:206)
> at scala.collection.immutable.List.map(List.scala:45)
>  at
> apparat.graph.ControlFlowGraphBytecodeBuilder$$anonfun$toBytecode$2.apply(ControlFlowGraphBytecodeBuilder.scala:97)
> at
> apparat.graph.ControlFlowGraphBytecodeBuilder$$anonfun$toBytecode$2.apply(ControlFlowGraphBytecodeBuilder.scala:96)
>  at
> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
> at scala.collection.immutable.List.foreach(List.scala:45)
>  at
> apparat.graph.ControlFlowGraphBytecodeBuilder$.toBytecode(ControlFlowGraphBytecodeBuilder.scala:96)
> at
> apparat.graph.ControlFlowGraphBytecodeBuilder$.apply(ControlFlowGraphBytecodeBuilder.scala:301)
>  at
> apparat.graph.mutable.MutableBytecodeControlFlowGraph.bytecode(MutableBytecodeControlFlowGraph.scala:91)
> at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$3$$anonfun$apply$4.apply(Reducer.scala:94)
>  at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$3$$anonfun$apply$4.apply(Reducer.scala:92)
>  at scala.Option.foreach(Option.scala:121)
> at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$3.apply(Reducer.scala:92)
>  at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$3.apply(Reducer.scala:91)
> at scala.Option.foreach(Option.scala:121)
>  at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3$$anonfun$apply$1$$anonfun$apply$2.apply(Reducer.scala:91)
> at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3$$anonfun$apply$1$$anonfun$apply$2.apply(Reducer.scala:90)
>  at
> scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
> at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:34)
>  at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3.apply(Reducer.scala:87)
> at
> apparat.tools.reducer.Reducer$ReducerTool$$anonfun$run$3.apply(Reducer.scala:85)
>  at
> apparat.swf.SwfTagMapping$$anonfun$2$$anonfun$apply$1.apply(SwfTagMapping.scala:41)
> at
> apparat.swf.SwfTagMapping$$anonfun$2$$anonfun$apply$1.apply(SwfTagMapping.scala:41)
>  at scala.actors.Futures$$anonfun$1.apply(Future.scala:128)
> at scala.actors.Futures$$anonfun$1.apply(Future.scala:128)
>  at scala.actors.FutureActor$$anonfun$act$1.apply(Future.scala:94)
> at scala.actors.FutureActor$$anonfun$act$1.apply(Future.scala:94)
>  at scala.actors.Reactor$class.seq(Reactor.scala:280)
> at scala.actors.FutureActor.seq(Future.scala:56)
>  at scala.actors.Reactor$$anon$3.andThen(Reactor.scala:258)
> at scala.actors.FutureActor.act(Future.scala:95)
>  at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222)
> at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222)
>  at scala.actors.ReactorTask.run(ReactorTask.scala:36)
> at
> scala.concurrent.forkjoin.ForkJoinPool$AdaptedRunnable.exec(ForkJoinPool.java:611)
>  at
> scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422)
> at
> scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340)
>  at
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325)
>
> Any Ideas what could be causing this? I have to admit that I haven't found
> out how to get my hands on errors like these ... this scala stuff in
> flexmojos seems to be quite Voodoo to mee :-(
>
> Chris
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to