[windup-dev] Nested rules alternative?

Lincoln Baxter, III lincolnbaxter at gmail.com
Mon Jun 16 16:13:07 EDT 2014


For the windup-configuration, i think the fastest answer is to do this:
https://issues.jboss.org/browse/WINDUP-87


On Thu, Jun 12, 2014 at 8:03 AM, Ondrej Zizka <ozizka at redhat.com> wrote:

> Nested iterations create verbose rules with a lot of boilerplate.
> Maybe the iteration could be over tuples of vertices.
> Eg. in DiscoverJavaFilesCP, instead of
>
> forEach( windupConf )
>      ...
>            ...
>               ............
>                   .....
>                       forEach( javaFile )
>
> we could query to get
>       [ { windupConf, javaFile },
>          { windupConf, javaFile }
>            ... ]
>
> And iterate over that.
> Anyone investigated this? IIRC from the Gremlin tutorial, this is possible.
>
> Ondra
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
>



-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/windup-dev/attachments/20140616/231cb46d/attachment.html 


More information about the windup-dev mailing list